ginipick commited on
Commit
60b167a
ยท
verified ยท
1 Parent(s): f20969d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -190,7 +190,6 @@ def respond(message: str, chat_history: List[Dict[str, str]], max_tokens: int, t
190
  except Exception as e:
191
  return f"์‘๋‹ต ์ƒ์„ฑ ์ค‘ ์˜ค๋ฅ˜ ๋ฐœ์ƒ: {str(e)}"
192
 
193
-
194
  def create_ui():
195
  try:
196
  css = """
@@ -298,7 +297,7 @@ def create_ui():
298
  )
299
 
300
  with gr.TabItem("AI ์ฝ”๋”ฉ"):
301
- chatbot = gr.Chatbot(label="๋Œ€ํ™”")
302
  msg = gr.Textbox(label="๋ฉ”์‹œ์ง€")
303
 
304
  # ์ˆจ๊ฒจ์ง„ ์ƒํƒœ๋กœ ํŒŒ๋ผ๋ฏธํ„ฐ ์„ค์ •
 
190
  except Exception as e:
191
  return f"์‘๋‹ต ์ƒ์„ฑ ์ค‘ ์˜ค๋ฅ˜ ๋ฐœ์ƒ: {str(e)}"
192
 
 
193
  def create_ui():
194
  try:
195
  css = """
 
297
  )
298
 
299
  with gr.TabItem("AI ์ฝ”๋”ฉ"):
300
+ chatbot = gr.Chatbot(label="๋Œ€ํ™”", type='messages')
301
  msg = gr.Textbox(label="๋ฉ”์‹œ์ง€")
302
 
303
  # ์ˆจ๊ฒจ์ง„ ์ƒํƒœ๋กœ ํŒŒ๋ผ๋ฏธํ„ฐ ์„ค์ •