Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,9 +46,9 @@ class LLM_Langchain():
|
|
46 |
self.max_new_tokens = st.sidebar.slider(
|
47 |
label="Token Length",
|
48 |
min_value=32,
|
49 |
-
max_value=
|
50 |
-
step=
|
51 |
-
value=
|
52 |
help="Set the max tokens to get accurate results"
|
53 |
)
|
54 |
|
@@ -57,7 +57,7 @@ class LLM_Langchain():
|
|
57 |
min_value=1,
|
58 |
max_value=10,
|
59 |
step=1,
|
60 |
-
value=
|
61 |
help="Set num beam"
|
62 |
)
|
63 |
|
|
|
46 |
self.max_new_tokens = st.sidebar.slider(
|
47 |
label="Token Length",
|
48 |
min_value=32,
|
49 |
+
max_value=248,
|
50 |
+
step=4,
|
51 |
+
value=128,
|
52 |
help="Set the max tokens to get accurate results"
|
53 |
)
|
54 |
|
|
|
57 |
min_value=1,
|
58 |
max_value=10,
|
59 |
step=1,
|
60 |
+
value=2,
|
61 |
help="Set num beam"
|
62 |
)
|
63 |
|