rishiraj commited on
Commit
4e35ae8
1 Parent(s): d0790bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -261,6 +261,6 @@ with gr.Blocks() as app:
261
  chat_sub=inp.submit(check_rand,[rand,seed],seed).then(chat_inf,[sys_inp,inp,chat_b,memory,client_choice,seed,temp,tokens,top_p,rep_p,chat_mem,custom_prompt],[chat_b,memory])
262
  go=btn.click(check_rand,[rand,seed],seed).then(chat_inf,[sys_inp,inp,chat_b,memory,client_choice,seed,temp,tokens,top_p,rep_p,chat_mem,custom_prompt],[chat_b,memory])
263
 
264
- stop_btn.click(None,None,None,cancels=[go,im_go,chat_sub])
265
  clear_btn.click(clear_fn,None,[inp,sys_inp,chat_b,memory])
266
  app.queue(default_concurrency_limit=10).launch()
 
261
  chat_sub=inp.submit(check_rand,[rand,seed],seed).then(chat_inf,[sys_inp,inp,chat_b,memory,client_choice,seed,temp,tokens,top_p,rep_p,chat_mem,custom_prompt],[chat_b,memory])
262
  go=btn.click(check_rand,[rand,seed],seed).then(chat_inf,[sys_inp,inp,chat_b,memory,client_choice,seed,temp,tokens,top_p,rep_p,chat_mem,custom_prompt],[chat_b,memory])
263
 
264
+ stop_btn.click(None,None,None,cancels=[go,chat_sub])
265
  clear_btn.click(clear_fn,None,[inp,sys_inp,chat_b,memory])
266
  app.queue(default_concurrency_limit=10).launch()