samarthagarwal23 commited on
Commit
c379db0
1 Parent(s): 0f32c86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -115,7 +115,7 @@ examples = [
115
 
116
  iface = gr.Interface(
117
  fn = final_qa_pipeline,
118
- inputs = [gr.inputs.File(label="input pdf file"), gr.inputs.Textbox(label="Question:"), gr.inputs.Dropdown(choices=["minilm-uncased-squad2","roberta-base-squad2"], value="minilm-uncased-squad2", label="Model")],
119
  outputs = [gr.outputs.HTML(label="Top 1 answer"), gr.outputs.HTML(label="Top 2 answer")],
120
  examples=examples,
121
  theme = "grass",
 
115
 
116
  iface = gr.Interface(
117
  fn = final_qa_pipeline,
118
+ inputs = [gr.inputs.File(label="input pdf file"), gr.inputs.Textbox(label="Question:"), gr.inputs.Dropdown(choices=["minilm-uncased-squad2","roberta-base-squad2"],label="Model")],
119
  outputs = [gr.outputs.HTML(label="Top 1 answer"), gr.outputs.HTML(label="Top 2 answer")],
120
  examples=examples,
121
  theme = "grass",