Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ import modelscope_studio.components.antd as antd
|
|
| 11 |
import modelscope_studio.components.antdx as antdx
|
| 12 |
import modelscope_studio.components.base as ms
|
| 13 |
import modelscope_studio.components.pro as pro
|
| 14 |
-
from config import DEFAULT_THEME, LIGHT_THEME, DEFAULT_SYS_PROMPT, save_history, user_config, bot_config, welcome_config, markdown_config, upload_config, MINISTRAL_MODELS
|
| 15 |
from ui_components.thinking_button import ThinkingButton
|
| 16 |
import spaces
|
| 17 |
|
|
@@ -813,7 +813,7 @@ with gr.Blocks(
|
|
| 813 |
antd.Icon("ClearOutlined")
|
| 814 |
|
| 815 |
model_selector = antd.Select(
|
| 816 |
-
value=
|
| 817 |
options=[{"label": "Ministral-3-14B", "value": "14B"}, {"label": "Ministral-3-8B", "value": "8B"}, {"label": "Ministral-3-3B", "value": "3B"}],
|
| 818 |
elem_style=dict(width=180)
|
| 819 |
)
|
|
|
|
| 11 |
import modelscope_studio.components.antdx as antdx
|
| 12 |
import modelscope_studio.components.base as ms
|
| 13 |
import modelscope_studio.components.pro as pro
|
| 14 |
+
from config import DEFAULT_THEME, LIGHT_THEME, DEFAULT_SYS_PROMPT,DEFAULT_MODEL_SIZE, save_history, user_config, bot_config, welcome_config, markdown_config, upload_config, MINISTRAL_MODELS
|
| 15 |
from ui_components.thinking_button import ThinkingButton
|
| 16 |
import spaces
|
| 17 |
|
|
|
|
| 813 |
antd.Icon("ClearOutlined")
|
| 814 |
|
| 815 |
model_selector = antd.Select(
|
| 816 |
+
value=DEFAULT_MODEL_SIZE, default_value=DEFAULT_MODEL_SIZE,
|
| 817 |
options=[{"label": "Ministral-3-14B", "value": "14B"}, {"label": "Ministral-3-8B", "value": "8B"}, {"label": "Ministral-3-3B", "value": "3B"}],
|
| 818 |
elem_style=dict(width=180)
|
| 819 |
)
|