abancp commited on
Commit
777572a
·
verified ·
1 Parent(s): 419d496

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, streaming=True) # ✅ Set streaming=True)
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)