Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ with gr.Blocks() as demo:
|
|
12 |
out = gr.Textbox(label="Model Response", lines=10)
|
13 |
|
14 |
btn = gr.Button("Send")
|
15 |
-
btn.click(chat_interface, inputs=inp, outputs=out
|
16 |
|
17 |
# Launch for Hugging Face Spaces
|
18 |
demo.launch(share=True)
|
|
|
12 |
out = gr.Textbox(label="Model Response", lines=10)
|
13 |
|
14 |
btn = gr.Button("Send")
|
15 |
+
btn.click(chat_interface, inputs=inp, outputs=out) # ✅ Set streaming=True)
|
16 |
|
17 |
# Launch for Hugging Face Spaces
|
18 |
demo.launch(share=True)
|