Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -286,7 +286,7 @@ with gr.Blocks() as app:
|
|
286 |
|
287 |
app.load(load_new,None,new_models)
|
288 |
add_btn.click(add_new_model,[add_model,new_models],[new_models,client_choice])
|
289 |
-
client_choice.change(load_models,client_choice,[chat_a,chat_b,chat_c,chat_d])
|
290 |
|
291 |
#im_go=im_btn.click(get_screenshot,[chat_b,im_height,im_width,chatblock,theme,wait_time],img)
|
292 |
#chat_sub=inp.submit(check_rand,[rand,seed],seed).then(chat_inf,[sys_inp,inp,chat_b,client_choice,seed,temp,tokens,top_p,rep_p],chat_b)
|
|
|
286 |
|
287 |
app.load(load_new,None,new_models)
|
288 |
add_btn.click(add_new_model,[add_model,new_models],[new_models,client_choice])
|
289 |
+
client_choice.change(load_models,[client_choice,new_models],[chat_a,chat_b,chat_c,chat_d])
|
290 |
|
291 |
#im_go=im_btn.click(get_screenshot,[chat_b,im_height,im_width,chatblock,theme,wait_time],img)
|
292 |
#chat_sub=inp.submit(check_rand,[rand,seed],seed).then(chat_inf,[sys_inp,inp,chat_b,client_choice,seed,temp,tokens,top_p,rep_p],chat_b)
|