Manglik-R commited on
Commit
35f1b77
·
verified ·
1 Parent(s): ceb30d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -89,9 +89,9 @@ def pdf_changes(pdf_doc):
89
 
90
  with gr.Interface(
91
  fn=query,
92
- inputs=[gr.Textbox(label="History", type="key-value", placeholder="History"),
93
  gr.Textbox(label="Question", placeholder="Type your question and hit Enter")],
94
- outputs=gr.Textbox(label="Answer", type="key-value", placeholder="Answer"),
95
  live=True,
96
  title="PDF Chatbot",
97
  description="Ask questions based on uploaded PDF content.",
 
89
 
90
  with gr.Interface(
91
  fn=query,
92
+ inputs=[gr.Textbox(label="History", type="text", placeholder="History"),
93
  gr.Textbox(label="Question", placeholder="Type your question and hit Enter")],
94
+ outputs=gr.Textbox(label="Answer", type="text", placeholder="Answer"),
95
  live=True,
96
  title="PDF Chatbot",
97
  description="Ask questions based on uploaded PDF content.",