ThePixOne commited on
Commit
041b9f4
1 Parent(s): 45f35f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -158,7 +158,10 @@ def predict(query,data):
158
 
159
  return df
160
 
161
- iface = gr.Interface(
 
 
 
162
 
163
  fn =predict,
164
  inputs = [gr.inputs.Textbox(default="What is Open-domain question answering?"),
 
158
 
159
  return df
160
 
161
+ iface = gr.Interface(examples = [
162
+ ["How high is the highest mountain?","China.pdf"],
163
+ ["Where does UK prime minister live?","London.pdf"]
164
+ ],
165
 
166
  fn =predict,
167
  inputs = [gr.inputs.Textbox(default="What is Open-domain question answering?"),