Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ description = """
|
|
11 |
"""
|
12 |
question_box = gr.Textbox(label="Question:", placeholder="What is Pragyan?", lines=2)
|
13 |
context_box = gr.Textbox(label="Context", placeholder=context, lines=10)
|
14 |
-
demo = gr.Interface(fn=
|
15 |
inputs=[question_box, context_box],
|
16 |
outputs="text",
|
17 |
title=title,
|
|
|
11 |
"""
|
12 |
question_box = gr.Textbox(label="Question:", placeholder="What is Pragyan?", lines=2)
|
13 |
context_box = gr.Textbox(label="Context", placeholder=context, lines=10)
|
14 |
+
demo = gr.Interface(fn=question_answering_tf,
|
15 |
inputs=[question_box, context_box],
|
16 |
outputs="text",
|
17 |
title=title,
|