Penality commited on
Commit
d004253
·
verified ·
1 Parent(s): fecb931

Update app.py

Browse files

syntax error fix, file->File

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -170,7 +170,7 @@ iface = gr.TabbedInterface(
170
  ),
171
  gr.Interface(
172
  fn=store_document_data,
173
- inputs=[gr.File(label="Upload PDF"), gr.file(label="Upload metadata"), gr.file(label="upload index")],
174
  outputs=gr.Textbox(label="Answer"),
175
  title="pdf file, metadata, index parsing and storing",
176
  ),
 
170
  ),
171
  gr.Interface(
172
  fn=store_document_data,
173
+ inputs=[gr.File(label="Upload PDF"), gr.File(label="Upload metadata"), gr.File(label="upload index")],
174
  outputs=gr.Textbox(label="Answer"),
175
  title="pdf file, metadata, index parsing and storing",
176
  ),