Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -88,8 +88,8 @@ mon_faq = gr.Interface(
|
|
88 |
mon_ex = gr.Interface(
|
89 |
fn=predict_extract,
|
90 |
inputs=input_question,
|
91 |
-
outputs=response,
|
92 |
examples=examples,
|
93 |
title="Monopoly Extractive QA Search")
|
94 |
|
95 |
-
gr.
|
|
|
88 |
mon_ex = gr.Interface(
|
89 |
fn=predict_extract,
|
90 |
inputs=input_question,
|
91 |
+
outputs=[response,"If this answer isn't correct, Try our Extractive QA search" ]
|
92 |
examples=examples,
|
93 |
title="Monopoly Extractive QA Search")
|
94 |
|
95 |
+
gr.TabbedInterface([mon_faq,mon_ex],["FAQ Search","Extractive QA"]).launch().launch()
|