Tuana commited on
Commit
0389e9a
·
1 Parent(s): fc419f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,8 +33,8 @@ def summarize(files):
33
  return document_store.get_document_count()
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")
 
33
  return document_store.get_document_count()
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")