Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -117,8 +117,8 @@ with gr.Blocks(title="Chatbot Mentorat") as demo:
|
|
| 117 |
)
|
| 118 |
|
| 119 |
with gr.Row():
|
| 120 |
-
btn_new = gr.Button("
|
| 121 |
-
btn_delete = gr.Button("
|
| 122 |
|
| 123 |
gr.Markdown("### Configuration")
|
| 124 |
system_prompt = gr.Textbox(
|
|
@@ -129,7 +129,7 @@ with gr.Blocks(title="Chatbot Mentorat") as demo:
|
|
| 129 |
|
| 130 |
# --- ON ASSIGNE LE SLIDER À UNE VARIABLE ---
|
| 131 |
temp_slider = gr.Slider(
|
| 132 |
-
minimum=0.0, maximum=
|
| 133 |
label="Température (créativité)",
|
| 134 |
info="Plus bas = plus précis, plus haut = plus créatif"
|
| 135 |
)
|
|
|
|
| 117 |
)
|
| 118 |
|
| 119 |
with gr.Row():
|
| 120 |
+
btn_new = gr.Button("Nouvelle Conversation", size="sm")
|
| 121 |
+
btn_delete = gr.Button("Supprimer", size="sm")
|
| 122 |
|
| 123 |
gr.Markdown("### Configuration")
|
| 124 |
system_prompt = gr.Textbox(
|
|
|
|
| 129 |
|
| 130 |
# --- ON ASSIGNE LE SLIDER À UNE VARIABLE ---
|
| 131 |
temp_slider = gr.Slider(
|
| 132 |
+
minimum=0.0, maximum=1.0, value=0.6, step=0.1,
|
| 133 |
label="Température (créativité)",
|
| 134 |
info="Plus bas = plus précis, plus haut = plus créatif"
|
| 135 |
)
|