Spaces:
Runtime error
Runtime error
Commit
·
e779338
1
Parent(s):
c560874
Update app.py
Browse files
app.py
CHANGED
@@ -26,6 +26,7 @@ with gr.Blocks() as demo:
|
|
26 |
|
27 |
chatbot = gr.Chatbot(label='Talk to the Document')
|
28 |
msg = gr.Textbox(label='Ask a question')
|
|
|
29 |
clear = gr.ClearButton([msg, chatbot])
|
30 |
|
31 |
upload.click(create_indexes, [
|
|
|
26 |
|
27 |
chatbot = gr.Chatbot(label='Talk to the Document')
|
28 |
msg = gr.Textbox(label='Ask a question')
|
29 |
+
submit_button = gr.components.Button(value='Submit', variant='primary')
|
30 |
clear = gr.ClearButton([msg, chatbot])
|
31 |
|
32 |
upload.click(create_indexes, [
|