Tonic commited on
Commit
7a887e8
·
1 Parent(s): 004188e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -121,12 +121,11 @@ def combined_interface(query, file, collection_name):
121
  iface = gr.Interface(
122
  fn=combined_interface,
123
  inputs=[
124
- gr.Textbox(label="Query", optional=True),
125
- gr.File(label="PDF File", type="file", optional=True),
126
- gr.Textbox(label="Collection Name", optional=True)
127
  ],
128
- outputs="text",
129
- allow_flagging="never"
130
  )
131
 
132
  iface.launch()
 
121
  iface = gr.Interface(
122
  fn=combined_interface,
123
  inputs=[
124
+ gr.Textbox(label="Query"),
125
+ gr.File(label="PDF File"),
126
+ gr.Textbox(label="Collection Name")
127
  ],
128
+ outputs="text"
 
129
  )
130
 
131
  iface.launch()