Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
@@ -91,8 +91,10 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", css="") as app:
|
|
91 |
insert_recom_prompt, [output_text_pony, dummy_np_pony, recom_pony], [output_text_pony, dummy_np_pony], queue=False,
|
92 |
)
|
93 |
chat_clear.click(lambda: None, None, chatbot, queue=False)
|
94 |
-
chat_model.change(select_dolphin_model, [chat_model], [chat_model, chat_format, chat_model_info], queue=True, show_progress="full")
|
95 |
-
|
|
|
|
|
96 |
chat_mode.change(select_dolphin_sysprompt, [chat_mode], [chat_sysmsg], queue=False)
|
97 |
chat_lang.change(select_dolphin_language, [chat_lang], [chat_sysmsg], queue=False)
|
98 |
gr.on(
|
|
|
91 |
insert_recom_prompt, [output_text_pony, dummy_np_pony, recom_pony], [output_text_pony, dummy_np_pony], queue=False,
|
92 |
)
|
93 |
chat_clear.click(lambda: None, None, chatbot, queue=False)
|
94 |
+
chat_model.change(select_dolphin_model, [chat_model], [chat_model, chat_format, chat_model_info], queue=True, show_progress="full")\
|
95 |
+
.success(lambda: None, None, chatbot, queue=False)
|
96 |
+
chat_format.change(select_dolphin_format, [chat_format], [chat_format], queue=False)\
|
97 |
+
.success(lambda: None, None, chatbot, queue=False)
|
98 |
chat_mode.change(select_dolphin_sysprompt, [chat_mode], [chat_sysmsg], queue=False)
|
99 |
chat_lang.change(select_dolphin_language, [chat_lang], [chat_sysmsg], queue=False)
|
100 |
gr.on(
|