amirgame197 commited on
Commit
a005499
·
verified ·
1 Parent(s): 8a0bba7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -135,7 +135,6 @@ with gr.Blocks() as app:
135
 
136
  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])
137
  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])
138
-
139
- stop_btn.click(None,None,None,cancels=[go,im_go,chat_sub])
140
  clear_btn.click(clear_fn,None,[inp,sys_inp,chat_b,memory])
141
  app.queue(default_concurrency_limit=10).launch()
 
135
 
136
  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])
137
  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])
138
+
 
139
  clear_btn.click(clear_fn,None,[inp,sys_inp,chat_b,memory])
140
  app.queue(default_concurrency_limit=10).launch()