Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -330,21 +330,21 @@ with gr.Blocks(css=MODEL_SELECTION_CSS, theme='gradio/soft') as demo:
|
|
330 |
# _js="(v)=>{ setStorage('local_data',v) }"
|
331 |
# )
|
332 |
|
333 |
-
regen_event = regenerate.click(
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
)
|
339 |
-
regenerate.click(
|
340 |
-
|
341 |
-
|
342 |
-
)
|
343 |
|
344 |
-
stop.click(
|
345 |
-
|
346 |
-
|
347 |
-
)
|
348 |
|
349 |
for btn in channel_btns:
|
350 |
btn.click(
|
|
|
330 |
# _js="(v)=>{ setStorage('local_data',v) }"
|
331 |
# )
|
332 |
|
333 |
+
# regen_event = regenerate.click(
|
334 |
+
# rollback_last,
|
335 |
+
# [idx, local_data, chat_state,
|
336 |
+
# global_context, res_temp, res_topk, res_rpen, res_mnts, res_sample, ctx_num_lconv],
|
337 |
+
# [context_inspector, chatbot, local_data, regenerate]
|
338 |
+
# )
|
339 |
+
# regenerate.click(
|
340 |
+
# None, local_data, None,
|
341 |
+
# _js="(v)=>{ setStorage('local_data',v) }"
|
342 |
+
# )
|
343 |
|
344 |
+
# stop.click(
|
345 |
+
# None, None, None,
|
346 |
+
# cancels=[send_event, regen_event]
|
347 |
+
# )
|
348 |
|
349 |
for btn in channel_btns:
|
350 |
btn.click(
|