Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -86,7 +86,7 @@ def query_documents(user_query):
|
|
| 86 |
# Gradio interface combining document upload and query features
|
| 87 |
with gr.Blocks() as demo:
|
| 88 |
pdf_input = gr.File(file_count="multiple", label="Upload up to 10 PDF files")
|
| 89 |
-
|
| 90 |
process_output = gr.Textbox(label="wait before success message for the document process")
|
| 91 |
query_input = gr.Textbox(label="Enter your query", placeholder="Type a question here...")
|
| 92 |
|
|
|
|
| 86 |
# Gradio interface combining document upload and query features
|
| 87 |
with gr.Blocks() as demo:
|
| 88 |
pdf_input = gr.File(file_count="multiple", label="Upload up to 10 PDF files")
|
| 89 |
+
process_btn = gr.Button("Process PDFs")
|
| 90 |
process_output = gr.Textbox(label="wait before success message for the document process")
|
| 91 |
query_input = gr.Textbox(label="Enter your query", placeholder="Type a question here...")
|
| 92 |
|