Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -403,9 +403,12 @@ with gr.Blocks() as demo:
|
|
403 |
|
404 |
# Добавление элементов управления температурой для каждой модели
|
405 |
gpt4o_temperature = gr.Slider(label="GPT-4o: temperature", minimum=0, maximum=2, step=0.01, value=1)
|
406 |
-
gigachat_pro_temperature = gr.Slider(label="GigaChat-Pro: temperature", minimum=0, maximum=2, step=0.01, value=0.87)
|
407 |
-
gigachat_lite_temperature = gr.Slider(label="GigaChat-Lite: temperature", minimum=0, maximum=2, step=0.01, value=0.87)
|
408 |
-
gigachat_plus_temperature = gr.Slider(label="GigaChat-Plus: temperature", minimum=0, maximum=2, step=0.01, value=0.87)
|
|
|
|
|
|
|
409 |
|
410 |
with gr.Row():
|
411 |
with gr.Column(scale=1):
|
@@ -452,10 +455,10 @@ with gr.Blocks() as demo:
|
|
452 |
description_input,
|
453 |
advantages_input,
|
454 |
*selections,
|
455 |
-
gpt4o_temperature
|
456 |
-
gigachat_pro_temperature
|
457 |
-
gigachat_lite_temperature
|
458 |
-
gigachat_plus_temperature
|
459 |
],
|
460 |
outputs=[prompt_display, output_text_gpt4o, output_text_gigachat_pro, output_text_gigachat_lite, output_text_gigachat_plus]
|
461 |
)
|
|
|
403 |
|
404 |
# Добавление элементов управления температурой для каждой модели
|
405 |
gpt4o_temperature = gr.Slider(label="GPT-4o: temperature", minimum=0, maximum=2, step=0.01, value=1)
|
406 |
+
#gigachat_pro_temperature = gr.Slider(label="GigaChat-Pro: temperature", minimum=0, maximum=2, step=0.01, value=0.87)
|
407 |
+
#gigachat_lite_temperature = gr.Slider(label="GigaChat-Lite: temperature", minimum=0, maximum=2, step=0.01, value=0.87)
|
408 |
+
#gigachat_plus_temperature = gr.Slider(label="GigaChat-Plus: temperature", minimum=0, maximum=2, step=0.01, value=0.87)
|
409 |
+
gigachat_pro_temperature = 1
|
410 |
+
gigachat_lite_temperature = 1
|
411 |
+
gigachat_plus_temperature = 1
|
412 |
|
413 |
with gr.Row():
|
414 |
with gr.Column(scale=1):
|
|
|
455 |
description_input,
|
456 |
advantages_input,
|
457 |
*selections,
|
458 |
+
gpt4o_temperature,
|
459 |
+
gigachat_pro_temperature,
|
460 |
+
gigachat_lite_temperature,
|
461 |
+
gigachat_plus_temperature
|
462 |
],
|
463 |
outputs=[prompt_display, output_text_gpt4o, output_text_gigachat_pro, output_text_gigachat_lite, output_text_gigachat_plus]
|
464 |
)
|