ginipick commited on
Commit
8477558
·
verified ·
1 Parent(s): 587b6d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -66,7 +66,7 @@ def summarize_space(space: Dict) -> str:
66
  ]
67
 
68
  try:
69
- response = hf_client.chat_completion(messages, max_tokens=150, temperature=0.7)
70
  return response.choices[0].message.content
71
  except Exception as e:
72
  return f"요약 생성 중 오류 발생: {str(e)}"
@@ -123,7 +123,7 @@ def create_ui():
123
  space_rows.append((space_row, button, space))
124
 
125
  with gr.Column(scale=1):
126
- info_output = gr.Textbox(label="Space 정보 및 요약", lines=12)
127
  app_py_content = gr.Code(language="python", label="app.py 내용")
128
 
129
  for _, button, space in space_rows:
 
66
  ]
67
 
68
  try:
69
+ response = hf_client.chat_completion(messages, max_tokens=400, temperature=0.7)
70
  return response.choices[0].message.content
71
  except Exception as e:
72
  return f"요약 생성 중 오류 발생: {str(e)}"
 
123
  space_rows.append((space_row, button, space))
124
 
125
  with gr.Column(scale=1):
126
+ info_output = gr.Textbox(label="Space 정보 및 요약", lines=16)
127
  app_py_content = gr.Code(language="python", label="app.py 내용")
128
 
129
  for _, button, space in space_rows: