vSiddi commited on
Commit
89e1347
·
1 Parent(s): 02f3912
Files changed (1) hide show
  1. modules/nav_about.py +1 -1
modules/nav_about.py CHANGED
@@ -22,7 +22,7 @@ def app():
22
  mode_to_index = {"private": 0, "demo": 1, "openai": 2}
23
  default_index = mode_to_index.get(app_constants.SYSTEM_DEPLOYMENT_MODE, 0) # Default to "Local" if not found
24
  # Radio buttons for selecting the server mode
25
- server_mode = st.radio("Select Server Mode", ["Private", "ZySec Demo", "OpenAI"],index=default_index)
26
 
27
  # Initialize variables for settings
28
  local_model_uri, remote_model_uri, openai_api_key = None, None, None
 
22
  mode_to_index = {"private": 0, "demo": 1, "openai": 2}
23
  default_index = mode_to_index.get(app_constants.SYSTEM_DEPLOYMENT_MODE, 0) # Default to "Local" if not found
24
  # Radio buttons for selecting the server mode
25
+ server_mode = st.radio("Select Server Mode", ["Private", "ZySec Demo", "OpenAI"],index=default_index,disabled=True)
26
 
27
  # Initialize variables for settings
28
  local_model_uri, remote_model_uri, openai_api_key = None, None, None