Spaces:
Running
Running
Update app.py
Browse files
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?"),
|