nam194 commited on
Commit
e420bbe
1 Parent(s): 8321c2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -13,7 +13,7 @@ class LLM_Langchain():
13
 
14
  model_parent = st.sidebar.selectbox(
15
  label = "Choose Language",
16
- options = ["php", "java", "javascript", "python", "ruby"],
17
  help="Choose languages",
18
  )
19
 
@@ -27,6 +27,7 @@ class LLM_Langchain():
27
  label = "Model used",
28
  options = [self.model_name],
29
  help="Model used to predict",
 
30
  )
31
 
32
  self.max_new_tokens = st.sidebar.slider(
 
13
 
14
  model_parent = st.sidebar.selectbox(
15
  label = "Choose Language",
16
+ options = ["python", "java", "javascript", "php", "ruby"],
17
  help="Choose languages",
18
  )
19
 
 
27
  label = "Model used",
28
  options = [self.model_name],
29
  help="Model used to predict",
30
+ disabled=model_name_visibility
31
  )
32
 
33
  self.max_new_tokens = st.sidebar.slider(