Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
| 93 |
gr.Textbox(label="Question", placeholder="Type your question and hit Enter")],
|
| 94 |
-
outputs=gr.Textbox(label="Answer", type="
|
| 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.",
|