superbsaeed commited on
Commit
e3c8fe4
Β·
verified Β·
1 Parent(s): 0c7ba36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -160,7 +160,7 @@ with gr.Blocks(title="PDF RAG Chatbot") as demo:
160
  # ── Right panel ───────────────────────────────────────
161
  with gr.Column(scale=2):
162
  gr.Markdown("### πŸ’¬ Chat")
163
- chatbot = gr.Chatbot(height=500, type="messages")
164
  with gr.Row():
165
  question_box = gr.Textbox(
166
  placeholder="Ask a question about your PDF...",
 
160
  # ── Right panel ───────────────────────────────────────
161
  with gr.Column(scale=2):
162
  gr.Markdown("### πŸ’¬ Chat")
163
+ chatbot = gr.Chatbot(height=500) # ← type="messages" removed
164
  with gr.Row():
165
  question_box = gr.Textbox(
166
  placeholder="Ask a question about your PDF...",