Muhammad Anas Akhtar commited on
Commit
b789e7b
·
verified ·
1 Parent(s): 838d2fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=1)],
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