Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ class LLM_Langchain():
|
|
13 |
|
14 |
model_parent = st.sidebar.selectbox(
|
15 |
label = "Choose Language",
|
16 |
-
options = ["
|
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(
|