Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -40,16 +40,16 @@ class LLM_Langchain():
|
|
40 |
self.top_k = st.sidebar.slider(
|
41 |
label="top_k",
|
42 |
min_value=1.0,
|
43 |
-
max_value=50,
|
44 |
step=1.0,
|
45 |
-
value=30,
|
46 |
help="Set the top_k"
|
47 |
)
|
48 |
|
49 |
self.top_p = st.sidebar.slider(
|
50 |
label="top_p",
|
51 |
min_value=0.1,
|
52 |
-
max_value=1,
|
53 |
step=0.05,
|
54 |
value=0.95,
|
55 |
help="Set the top_p"
|
|
|
40 |
self.top_k = st.sidebar.slider(
|
41 |
label="top_k",
|
42 |
min_value=1.0,
|
43 |
+
max_value=50.0,
|
44 |
step=1.0,
|
45 |
+
value=30.0,
|
46 |
help="Set the top_k"
|
47 |
)
|
48 |
|
49 |
self.top_p = st.sidebar.slider(
|
50 |
label="top_p",
|
51 |
min_value=0.1,
|
52 |
+
max_value=1.0,
|
53 |
step=0.05,
|
54 |
value=0.95,
|
55 |
help="Set the top_p"
|