Muhammad Anas Akhtar
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def get_answer(file, question):
|
|
35 |
|
36 |
demo = gr.Interface(fn=get_answer,
|
37 |
inputs=[gr.File(label="Upload your file(.txt)"), gr.Textbox(label="Input your question",lines=1)],
|
38 |
-
outputs=[gr.Textbox(label="Answer text",lines=
|
39 |
title="Document_Question_And_Answer Chatbot",
|
40 |
description="THIS APPLICATION WILL BE USED TO ANSER QUESTIONS BASED ON CONTEXT PROVIDED.")
|
41 |
|
|
|
35 |
|
36 |
demo = gr.Interface(fn=get_answer,
|
37 |
inputs=[gr.File(label="Upload your file(.txt)"), gr.Textbox(label="Input your question",lines=1)],
|
38 |
+
outputs=[gr.Textbox(label="Answer text",lines=2)],
|
39 |
title="Document_Question_And_Answer Chatbot",
|
40 |
description="THIS APPLICATION WILL BE USED TO ANSER QUESTIONS BASED ON CONTEXT PROVIDED.")
|
41 |
|