segestic commited on
Commit
eeb0cc4
·
verified ·
1 Parent(s): e95d4c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -60,6 +60,7 @@ def talk(prompt, history):
60
  # Gradio interface
61
  demo = gr.ChatInterface(
62
  fn=talk,
 
63
  chatbot=gr.Chatbot(
64
  show_label=True,
65
  show_share_button=True,
 
60
  # Gradio interface
61
  demo = gr.ChatInterface(
62
  fn=talk,
63
+ streaming=True, # ✅ Enables streaming from the generator
64
  chatbot=gr.Chatbot(
65
  show_label=True,
66
  show_share_button=True,