Update app.py
Browse files
app.py
CHANGED
|
@@ -20,10 +20,10 @@ def generate_answer(question, context):
|
|
| 20 |
return answer
|
| 21 |
|
| 22 |
iface = gr.Interface(fn=generate_answer,
|
| 23 |
-
inputs=[gr.Textbox(lines=2, placeholder="
|
| 24 |
-
gr.Textbox(lines=5, placeholder="
|
| 25 |
outputs=gr.Textbox(),
|
| 26 |
-
title="
|
| 27 |
-
description="
|
| 28 |
|
| 29 |
iface.launch()
|
|
|
|
| 20 |
return answer
|
| 21 |
|
| 22 |
iface = gr.Interface(fn=generate_answer,
|
| 23 |
+
inputs=[gr.Textbox(lines=2, placeholder="Enter Question Here..."),
|
| 24 |
+
gr.Textbox(lines=5, placeholder="Enter Context Here...")],
|
| 25 |
outputs=gr.Textbox(),
|
| 26 |
+
title="Question Answering System",
|
| 27 |
+
description="Type in your question and context, and the system will provide you with an answer.")
|
| 28 |
|
| 29 |
iface.launch()
|