dwb2023 commited on
Commit
5e9a655
1 Parent(s): 69c1150

Update app.py

Browse files

add stop button

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -139,7 +139,7 @@ chat_interface = gr.ChatInterface(
139
  value=1.4,
140
  ),
141
  ],
142
- stop_btn=None,
143
  cache_examples=False,
144
  examples=[
145
  ["Explain quantum physics in 5 words or less:"],
 
139
  value=1.4,
140
  ),
141
  ],
142
+ stop_btn="Stop",
143
  cache_examples=False,
144
  examples=[
145
  ["Explain quantum physics in 5 words or less:"],