jinysun commited on
Commit
a1d5a86
·
verified ·
1 Parent(s): fd4a189

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -46,8 +46,8 @@ def initialize_session_state():
46
  if 'domain' not in st.session_state: st.session_state['domain'] = 'Organic solar cell'
47
 
48
  # Config States (Defaults)
49
- if 'model1_select' not in st.session_state: st.session_state['model1_select'] = 'deepseek-ai/DeepSeek-R1'
50
- if 'model2_select' not in st.session_state: st.session_state['model2_select'] = 'deepseek-ai/DeepSeek-v3.1'
51
  if 'api_key' not in st.session_state: st.session_state['api_key'] = os.getenv('OPENAI_API_KEY', '')
52
 
53
  # Agent & Logic States
@@ -73,8 +73,8 @@ def update_agent_if_needed(current_config):
73
  # Don't try to init if no key, just return
74
  return
75
 
76
- model1 = current_config['model1'] or "deepseek-ai/DeepSeek-R1"
77
- model2 = current_config['model2'] or "deepseek-ai/DeepSeek-v3.1"
78
  domain = current_config['domain']
79
  file_path = current_config['file_path']
80
  image_path = current_config['image_path']
 
46
  if 'domain' not in st.session_state: st.session_state['domain'] = 'Organic solar cell'
47
 
48
  # Config States (Defaults)
49
+ if 'model1_select' not in st.session_state: st.session_state['model1_select'] = 'deepseek-reasoner'
50
+ if 'model2_select' not in st.session_state: st.session_state['model2_select'] = 'deepseek-reasoner'
51
  if 'api_key' not in st.session_state: st.session_state['api_key'] = os.getenv('OPENAI_API_KEY', '')
52
 
53
  # Agent & Logic States
 
73
  # Don't try to init if no key, just return
74
  return
75
 
76
+ model1 = current_config['model1'] or "deepseek-reasoner"
77
+ model2 = current_config['model2'] or "deepseek-reasoner"
78
  domain = current_config['domain']
79
  file_path = current_config['file_path']
80
  image_path = current_config['image_path']