jinysun commited on
Commit
981a9ba
·
verified ·
1 Parent(s): 73e839b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -133,7 +133,7 @@ with st.sidebar:
133
  st.text_input(
134
  'Input base url (optional).',
135
  placeholder = 'Input base url (optional)',
136
- key='base_url',
137
  label_visibility="collapsed"
138
  )
139
  # Input model to use
@@ -144,19 +144,19 @@ with st.sidebar:
144
  )
145
  st.selectbox(
146
  'Select local execution model to use',
147
- ['gpt-4o-2024-11-20', 'deepseek-v3-241226' ],
148
  key='model2_select',
149
  )
150
  st.text_input(
151
  'Input SERP API KEY (optional).',
152
  placeholder = 'Input SERP API KEY (optional)',
153
- key='serp_api',
154
  label_visibility="collapsed"
155
  )
156
  st.text_input(
157
  'Input SEMANTIC SCHOLAR API KEY (optional).',
158
  placeholder = 'Input SEMANTIC SCHOLAR API KEY (optional)',
159
- key='semantic_scholar_url',
160
  label_visibility="collapsed"
161
  )
162
  os.environ['OPENAI_API_KEY'] = ss.get('api_key')
 
133
  st.text_input(
134
  'Input base url (optional).',
135
  placeholder = 'Input base url (optional)',
136
+ key='base_url', type='password',
137
  label_visibility="collapsed"
138
  )
139
  # Input model to use
 
144
  )
145
  st.selectbox(
146
  'Select local execution model to use',
147
+ [ 'deepseek-v3-241226', 'gpt-4o-2024-11-20'],
148
  key='model2_select',
149
  )
150
  st.text_input(
151
  'Input SERP API KEY (optional).',
152
  placeholder = 'Input SERP API KEY (optional)',
153
+ key='serp_api', type='password',
154
  label_visibility="collapsed"
155
  )
156
  st.text_input(
157
  'Input SEMANTIC SCHOLAR API KEY (optional).',
158
  placeholder = 'Input SEMANTIC SCHOLAR API KEY (optional)',
159
+ key='semantic_scholar_url', type='password',
160
  label_visibility="collapsed"
161
  )
162
  os.environ['OPENAI_API_KEY'] = ss.get('api_key')