Spaces:
Running
Running
Update app.py
Browse files
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 |
# ์จ๊ฒจ์ง ์ํ๋ก ํ๋ผ๋ฏธํฐ ์ค์
|