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