Spaces:
Build error
Build error
accept multiple files
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def summarize(files):
|
|
34 |
|
35 |
title = "Summarize one or more PDFs with a Haystack Summariser pipeline"
|
36 |
iface = gr.Interface(fn=summarize,
|
37 |
-
inputs=[gr.inputs.File(file_count="
|
38 |
outputs="text",
|
39 |
title=title,
|
40 |
theme="default")
|
|
|
34 |
|
35 |
title = "Summarize one or more PDFs with a Haystack Summariser pipeline"
|
36 |
iface = gr.Interface(fn=summarize,
|
37 |
+
inputs=[gr.inputs.File(file_count="multiple", type="file", label="Upload some PDFs")],
|
38 |
outputs="text",
|
39 |
title=title,
|
40 |
theme="default")
|