Spaces:
Running
Running
Update ChuanhuChatbot.py
Browse files- ChuanhuChatbot.py +1 -1
ChuanhuChatbot.py
CHANGED
|
@@ -640,7 +640,7 @@ with gr.Blocks(theme=small_and_beautiful_theme) as demo:
|
|
| 640 |
# LLM Models
|
| 641 |
keyTxt.change(set_key, [current_model, keyTxt], [
|
| 642 |
user_api_key, status_display], api_name="set_key").then(**get_usage_args)
|
| 643 |
-
keyTxt.submit(**get_usage_args)
|
| 644 |
single_turn_checkbox.change(
|
| 645 |
set_single_turn, [current_model, single_turn_checkbox], None)
|
| 646 |
model_select_dropdown.change(get_model, [model_select_dropdown, lora_select_dropdown, user_api_key, temperature_slider, top_p_slider, systemPromptTxt, user_name, current_model], [
|
|
|
|
| 640 |
# LLM Models
|
| 641 |
keyTxt.change(set_key, [current_model, keyTxt], [
|
| 642 |
user_api_key, status_display], api_name="set_key").then(**get_usage_args)
|
| 643 |
+
#keyTxt.submit(**get_usage_args)
|
| 644 |
single_turn_checkbox.change(
|
| 645 |
set_single_turn, [current_model, single_turn_checkbox], None)
|
| 646 |
model_select_dropdown.change(get_model, [model_select_dropdown, lora_select_dropdown, user_api_key, temperature_slider, top_p_slider, systemPromptTxt, user_name, current_model], [
|