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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ def talk(prompt, history):
58
  return f"Error during response generation: {e}"
59
 
60
  # Gradio interface
61
- demo = gr.ChatInterface(
62
  fn=talk,
63
  streaming=True, # ✅ Enables streaming from the generator
64
  chatbot=gr.Chatbot(
 
58
  return f"Error during response generation: {e}"
59
 
60
  # Gradio interface
61
+ demo = gr.Interface(
62
  fn=talk,
63
  streaming=True, # ✅ Enables streaming from the generator
64
  chatbot=gr.Chatbot(