Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -153,7 +153,7 @@ def process_and_query(state, question):
|
|
153 |
def main():
|
154 |
upload_interface = gr.Interface(
|
155 |
fn=upload_files,
|
156 |
-
inputs=gr.File(label="Upload PDF or DOCX files", multiple=True
|
157 |
outputs=gr.Textbox(label="Upload Status"),
|
158 |
live=True,
|
159 |
capture_session=True
|
|
|
153 |
def main():
|
154 |
upload_interface = gr.Interface(
|
155 |
fn=upload_files,
|
156 |
+
inputs=gr.File(label="Upload PDF or DOCX files"), # Removed `multiple=True`
|
157 |
outputs=gr.Textbox(label="Upload Status"),
|
158 |
live=True,
|
159 |
capture_session=True
|