Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -132,6 +132,5 @@ with gr.Blocks() as app:
|
|
132 |
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])
|
133 |
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])
|
134 |
|
135 |
-
stop_btn.click(None,None,None,cancels=[go,im_go,chat_sub])
|
136 |
clear_btn.click(clear_fn,None,[inp,sys_inp,chat_b,memory])
|
137 |
app.queue(default_concurrency_limit=10).launch()
|
|
|
132 |
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])
|
133 |
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])
|
134 |
|
|
|
135 |
clear_btn.click(clear_fn,None,[inp,sys_inp,chat_b,memory])
|
136 |
app.queue(default_concurrency_limit=10).launch()
|