Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -190,17 +190,19 @@ demo = gr.ChatInterface(
|
|
| 190 |
label="⚙️ Parameters", open=False, render=False
|
| 191 |
),
|
| 192 |
additional_inputs=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 193 |
gr.Dropdown(
|
| 194 |
choices=["English to Kazakh", "Kazakh to English", "Kazakh to Russian", "Russian to Kazakh"],
|
| 195 |
label="Translation Direction",
|
| 196 |
info="Select the direction of translation"
|
| 197 |
),
|
| 198 |
-
gr.Textbox(
|
| 199 |
-
value="You are a helpful assistant.",
|
| 200 |
-
label="System Prompt",
|
| 201 |
-
info="Define the AI assistant's personality and behavior",
|
| 202 |
-
lines=2,
|
| 203 |
-
),
|
| 204 |
gr.Slider(
|
| 205 |
minimum=512,
|
| 206 |
maximum=2048,
|
|
|
|
| 190 |
label="⚙️ Parameters", open=False, render=False
|
| 191 |
),
|
| 192 |
additional_inputs=[
|
| 193 |
+
gr.Dropdown(
|
| 194 |
+
choices=[
|
| 195 |
+
"gemma_3_800M_sft_v2_translation-kazparc_latest.gguf",
|
| 196 |
+
],
|
| 197 |
+
value="gemma_3_800M_sft_v2_translation-kazparc_latest.gguf",
|
| 198 |
+
label="Model",
|
| 199 |
+
info="Select the AI model to use for chat",
|
| 200 |
+
),
|
| 201 |
gr.Dropdown(
|
| 202 |
choices=["English to Kazakh", "Kazakh to English", "Kazakh to Russian", "Russian to Kazakh"],
|
| 203 |
label="Translation Direction",
|
| 204 |
info="Select the direction of translation"
|
| 205 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 206 |
gr.Slider(
|
| 207 |
minimum=512,
|
| 208 |
maximum=2048,
|