Jofthomas commited on
Commit
f87a4ad
·
verified ·
1 Parent(s): c7e3907

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="14B", default_value="14B",
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
  )