Spaces:
Running
Running
Update ChuanhuChatbot.py
Browse files- ChuanhuChatbot.py +2 -2
ChuanhuChatbot.py
CHANGED
|
@@ -638,8 +638,8 @@ with gr.Blocks(theme=small_and_beautiful_theme) as demo:
|
|
| 638 |
two_column.change(update_doc_config, [two_column], None)
|
| 639 |
|
| 640 |
# LLM Models
|
| 641 |
-
keyTxt.change(set_key, [current_model, keyTxt], [
|
| 642 |
-
|
| 643 |
#keyTxt.submit(**get_usage_args)
|
| 644 |
single_turn_checkbox.change(
|
| 645 |
set_single_turn, [current_model, single_turn_checkbox], None)
|
|
|
|
| 638 |
two_column.change(update_doc_config, [two_column], None)
|
| 639 |
|
| 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)
|