Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -121,12 +121,11 @@ def combined_interface(query, file, collection_name):
|
|
121 |
iface = gr.Interface(
|
122 |
fn=combined_interface,
|
123 |
inputs=[
|
124 |
-
gr.Textbox(label="Query"
|
125 |
-
gr.File(label="PDF File"
|
126 |
-
gr.Textbox(label="Collection Name"
|
127 |
],
|
128 |
-
outputs="text"
|
129 |
-
allow_flagging="never"
|
130 |
)
|
131 |
|
132 |
iface.launch()
|
|
|
121 |
iface = gr.Interface(
|
122 |
fn=combined_interface,
|
123 |
inputs=[
|
124 |
+
gr.Textbox(label="Query"),
|
125 |
+
gr.File(label="PDF File"),
|
126 |
+
gr.Textbox(label="Collection Name")
|
127 |
],
|
128 |
+
outputs="text"
|
|
|
129 |
)
|
130 |
|
131 |
iface.launch()
|