Update app.py
Browse files
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.
|
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(
|