Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -164,7 +164,7 @@ with gr.Blocks() as app:
|
|
164 |
im_go=im_btn.click(get_screenshot,[chat_b,im_height,im_width,chatblock,theme,wait_time],img)
|
165 |
|
166 |
chat_sub=inp.submit(check_rand,[rand,seed],seed).then(chat_inf,[sys_inp,inp,chat_b,memory,model_state,seed,temp,tokens,top_p,rep_p,chat_mem,custom_prompt],[chat_b,memory])
|
167 |
-
go=btn.click(check_rand,[rand,seed],seed).then(chat_inf,[sys_inp,inp,chat_b,memory,
|
168 |
|
169 |
stop_btn.click(None,None,None,cancels=[go,im_go,chat_sub])
|
170 |
clear_btn.click(clear_fn,None,[inp,sys_inp,chat_b,memory])
|
|
|
164 |
im_go=im_btn.click(get_screenshot,[chat_b,im_height,im_width,chatblock,theme,wait_time],img)
|
165 |
|
166 |
chat_sub=inp.submit(check_rand,[rand,seed],seed).then(chat_inf,[sys_inp,inp,chat_b,memory,model_state,seed,temp,tokens,top_p,rep_p,chat_mem,custom_prompt],[chat_b,memory])
|
167 |
+
go=btn.click(check_rand,[rand,seed],seed).then(chat_inf,[sys_inp,inp,chat_b,memory,model_state,seed,temp,tokens,top_p,rep_p,chat_mem,custom_prompt],[chat_b,memory])
|
168 |
|
169 |
stop_btn.click(None,None,None,cancels=[go,im_go,chat_sub])
|
170 |
clear_btn.click(clear_fn,None,[inp,sys_inp,chat_b,memory])
|