NanobotzAI commited on
Commit
1b8b1a1
·
verified ·
1 Parent(s): 0c42124

Update app.py

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