ใ……ใ…Žใ…‡ commited on
Commit
e4e2384
ยท
1 Parent(s): 51796c8

Add stop_btn=None to disable stop button in ChatInterface

Browse files
Files changed (1) hide show
  1. CodeWeaver/ui/app.py +1 -0
CodeWeaver/ui/app.py CHANGED
@@ -275,6 +275,7 @@ def create_demo() -> gr.Blocks:
275
  examples=None,
276
  chatbot=chatbot,
277
  additional_inputs=[session_id_input],
 
278
  )
279
 
280
  # ๋Œ€ํ™” ์ดˆ๊ธฐํ™” ๋ฒ„ํŠผ ์ถ”๊ฐ€ (๊ณต์‹ ๋ฌธ์„œ: https://www.gradio.app/guides/creating-a-custom-chatbot-with-blocks)
 
275
  examples=None,
276
  chatbot=chatbot,
277
  additional_inputs=[session_id_input],
278
+ stop_btn=None, # ๋ฉˆ์ถค ๋ฒ„ํŠผ ๊ธฐ๋Šฅ ์™„์ „ํžˆ ๋น„ํ™œ์„ฑํ™”
279
  )
280
 
281
  # ๋Œ€ํ™” ์ดˆ๊ธฐํ™” ๋ฒ„ํŠผ ์ถ”๊ฐ€ (๊ณต์‹ ๋ฌธ์„œ: https://www.gradio.app/guides/creating-a-custom-chatbot-with-blocks)