Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ with gr.Blocks() as app:
|
|
107 |
client_choice.change(load_models,client_choice,[chat_b])
|
108 |
app.load(load_models,client_choice,[chat_b])
|
109 |
|
110 |
-
chat_sub=inp.submit().
|
111 |
-
go=btn.click().
|
112 |
|
113 |
app.queue(default_concurrency_limit=10).launch()
|
|
|
107 |
client_choice.change(load_models,client_choice,[chat_b])
|
108 |
app.load(load_models,client_choice,[chat_b])
|
109 |
|
110 |
+
chat_sub=inp.submit().then(chat_inf,[inp,chat_b,memory,client_choice,temp,tokens,top_p,rep_p,chat_mem],[chat_b,memory])
|
111 |
+
go=btn.click().then(chat_inf,[inp,chat_b,memory,client_choice,temp,tokens,top_p,rep_p,chat_mem],[chat_b,memory])
|
112 |
|
113 |
app.queue(default_concurrency_limit=10).launch()
|