Spaces:
Running
on
Zero
Running
on
Zero
Liam Dyer
commited on
helping it rip bud
Browse files
app.py
CHANGED
|
@@ -182,7 +182,7 @@ def predict(queries, documents, max_characters) -> list[list[str]]:
|
|
| 182 |
# We accept a filename because the gradio JS interface removes this information
|
| 183 |
# and it's critical for choosing the correct processing pipeline
|
| 184 |
gr.Interface(
|
| 185 |
-
|
| 186 |
inputs=[
|
| 187 |
gr.Textbox(label="Queries separated by newline"),
|
| 188 |
gr.Files(label="Upload File"),
|
|
|
|
| 182 |
# We accept a filename because the gradio JS interface removes this information
|
| 183 |
# and it's critical for choosing the correct processing pipeline
|
| 184 |
gr.Interface(
|
| 185 |
+
predict,
|
| 186 |
inputs=[
|
| 187 |
gr.Textbox(label="Queries separated by newline"),
|
| 188 |
gr.Files(label="Upload File"),
|