Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -378,7 +378,7 @@ with gr.Blocks(css=MODEL_SELECTION_CSS, theme='gradio/soft') as demo:
|
|
378 |
).then(
|
379 |
chat_stream,
|
380 |
[idx, local_data, instruction_txtbox, chat_state,
|
381 |
-
global_context, res_temp, res_topk, res_topp, ctx_num_lconv
|
382 |
internet_option, serper_api_key],
|
383 |
[instruction_txtbox, context_inspector, chatbot, local_data, regenerate, internet_option]
|
384 |
).then(
|
@@ -410,7 +410,7 @@ with gr.Blocks(css=MODEL_SELECTION_CSS, theme='gradio/soft') as demo:
|
|
410 |
regen_event = regenerate.click(
|
411 |
rollback_last,
|
412 |
[idx, local_data, chat_state,
|
413 |
-
global_context, res_temp, res_topk, res_topp, ctx_num_lconv
|
414 |
internet_option, serper_api_key],
|
415 |
[context_inspector, chatbot, local_data, regenerate, internet_option]
|
416 |
).then(
|
|
|
378 |
).then(
|
379 |
chat_stream,
|
380 |
[idx, local_data, instruction_txtbox, chat_state,
|
381 |
+
global_context, res_temp, res_topk, res_topp, ctx_num_lconv,
|
382 |
internet_option, serper_api_key],
|
383 |
[instruction_txtbox, context_inspector, chatbot, local_data, regenerate, internet_option]
|
384 |
).then(
|
|
|
410 |
regen_event = regenerate.click(
|
411 |
rollback_last,
|
412 |
[idx, local_data, chat_state,
|
413 |
+
global_context, res_temp, res_topk, res_topp, ctx_num_lconv,
|
414 |
internet_option, serper_api_key],
|
415 |
[context_inspector, chatbot, local_data, regenerate, internet_option]
|
416 |
).then(
|