prashantmatlani commited on
Commit
55b94d4
·
1 Parent(s): b5a0b96

updated app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -27,14 +27,14 @@ with gr.Blocks() as demo:
27
 
28
  # --- Main Chat ---
29
  with gr.Column(scale=4):
30
- # Gradio 6: 'type' is removed, 'messages' is default
31
  chatbot = gr.Chatbot(
32
  show_label=False,
33
- height=700,
34
- multimodal=True,
35
- autoscroll=True
36
  )
37
 
 
 
38
  chat_input = gr.MultimodalTextbox(
39
  interactive=True,
40
  placeholder="Discuss architecture or upload code...",
 
27
 
28
  # --- Main Chat ---
29
  with gr.Column(scale=4):
30
+ # FIX: Removed 'multimodal' and 'autoscroll' which caused the TypeError
31
  chatbot = gr.Chatbot(
32
  show_label=False,
33
+ height=700
 
 
34
  )
35
 
36
+ # The input remains multimodal; the chatbot will display
37
+ # whatever the input provides automatically.
38
  chat_input = gr.MultimodalTextbox(
39
  interactive=True,
40
  placeholder="Discuss architecture or upload code...",