barunsaha commited on
Commit
6d3e57c
·
1 Parent(s): 9f63a8c

Add missing input fields in case of offline usage (Ollama)

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -167,8 +167,11 @@ with st.sidebar:
167
  )
168
  )
169
  api_key_token: str = ''
 
 
 
170
  else:
171
- # The LLMs
172
  llm_provider_to_use = st.sidebar.selectbox(
173
  label='2: Select a suitable LLM to use:\n\n(Gemini and Mistral-Nemo are recommended)',
174
  options=[f'{k} ({v["description"]})' for k, v in GlobalConfig.VALID_MODELS.items()],
 
167
  )
168
  )
169
  api_key_token: str = ''
170
+ azure_endpoint: str = ''
171
+ azure_deployment: str = ''
172
+ api_version: str = ''
173
  else:
174
+ # The online LLMs
175
  llm_provider_to_use = st.sidebar.selectbox(
176
  label='2: Select a suitable LLM to use:\n\n(Gemini and Mistral-Nemo are recommended)',
177
  options=[f'{k} ({v["description"]})' for k, v in GlobalConfig.VALID_MODELS.items()],