Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -86,8 +86,8 @@ def create_interface() -> gr.Blocks:
|
|
86 |
gr.Markdown("# PDF-Based Chatbot using Google Gemma")
|
87 |
|
88 |
with gr.Row():
|
89 |
-
chatbot = gr.Chatbot(label="Chat with Your PDF")
|
90 |
-
pdf_upload = gr.File(label="Upload PDF", type="
|
91 |
|
92 |
with gr.Row():
|
93 |
user_input = gr.Textbox(label="Ask a question", placeholder="Type here...")
|
|
|
86 |
gr.Markdown("# PDF-Based Chatbot using Google Gemma")
|
87 |
|
88 |
with gr.Row():
|
89 |
+
chatbot = gr.Chatbot(label="Chat with Your PDF", type="messages")
|
90 |
+
pdf_upload = gr.File(label="Upload PDF", type="filepath")
|
91 |
|
92 |
with gr.Row():
|
93 |
user_input = gr.Textbox(label="Ask a question", placeholder="Type here...")
|