Spaces:
Runtime error
Runtime error
Commit
·
6b3f443
1
Parent(s):
5323941
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
41 |
default='',
|
42 |
lines=10, # Set the number of lines to display multiple documents
|
43 |
)
|
44 |
-
submit_button.click(create_conversation, [msg, chatbot, collection_name], [msg, chatbot
|
45 |
msg.submit(create_conversation, [msg, chatbot, collection_name], [msg, chatbot, source_document_textbox])
|
46 |
demo.launch()
|
47 |
|
|
|
41 |
default='',
|
42 |
lines=10, # Set the number of lines to display multiple documents
|
43 |
)
|
44 |
+
submit_button.click(create_conversation, [msg, chatbot, collection_name], [msg, chatbot])
|
45 |
msg.submit(create_conversation, [msg, chatbot, collection_name], [msg, chatbot, source_document_textbox])
|
46 |
demo.launch()
|
47 |
|