Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1269,11 +1269,18 @@ def create_jain_interface():
|
|
1269 |
outputs=[chatbot, msg_input]
|
1270 |
)
|
1271 |
|
1272 |
-
|
1273 |
fn=set_example,
|
1274 |
outputs=msg_input,
|
1275 |
)
|
1276 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1277 |
return interface
|
1278 |
|
1279 |
# ๋ฉ์ธ ์คํ ํจ์
|
|
|
1269 |
outputs=[chatbot, msg_input]
|
1270 |
)
|
1271 |
|
1272 |
+
example_btn.click(
|
1273 |
fn=set_example,
|
1274 |
outputs=msg_input,
|
1275 |
)
|
1276 |
+
|
1277 |
+
# ์ฑํ
์
๋ ฅ ๊ธฐ๋ฅ ์ถ๊ฐ
|
1278 |
+
msg_input.submit(
|
1279 |
+
fn=submit_message,
|
1280 |
+
inputs=[msg_input, chatbot],
|
1281 |
+
outputs=[chatbot, msg_input]
|
1282 |
+
)
|
1283 |
+
|
1284 |
return interface
|
1285 |
|
1286 |
# ๋ฉ์ธ ์คํ ํจ์
|