Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -293,7 +293,7 @@ class ChatDocumentQA:
|
|
| 293 |
# input_url = gr.Textbox(label="URLs")
|
| 294 |
|
| 295 |
# Submit button for URL input
|
| 296 |
-
input_url.submit(self._get_urls_knowledge_base, inputs=input_url, outputs=[file_output, state])
|
| 297 |
|
| 298 |
# Upload button for file input
|
| 299 |
upload_button.upload(self._get_documents_knowledge_base, inputs=upload_button, outputs=[file_output, state])
|
|
|
|
| 293 |
# input_url = gr.Textbox(label="URLs")
|
| 294 |
|
| 295 |
# Submit button for URL input
|
| 296 |
+
# input_url.submit(self._get_urls_knowledge_base, inputs=input_url, outputs=[file_output, state])
|
| 297 |
|
| 298 |
# Upload button for file input
|
| 299 |
upload_button.upload(self._get_documents_knowledge_base, inputs=upload_button, outputs=[file_output, state])
|