Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -47,9 +47,10 @@ with col1:
|
|
47 |
)
|
48 |
|
49 |
with col2:
|
50 |
-
temperature = st.slider('Temperature:
|
51 |
-
top_p = st.slider('Top p:
|
52 |
-
max_tokens = st.number_input('Max output length:
|
|
|
53 |
threshold = st.number_input('Min token score:: ', value=-100.0)
|
54 |
|
55 |
|
|
|
47 |
)
|
48 |
|
49 |
with col2:
|
50 |
+
temperature = st.slider('Temperature:', min_value=0.0, max_value=1.0, value=0.5)
|
51 |
+
top_p = st.slider('Top p:', min_value=0.5, max_value=1.0, value=0.99)
|
52 |
+
# max_tokens = st.number_input('Max output length:', min_value=1, max_value=64, format='%i')
|
53 |
+
max_tokens = st.slider('Max output length: ', min_value=1, max_value=64)
|
54 |
threshold = st.number_input('Min token score:: ', value=-100.0)
|
55 |
|
56 |
|