Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,7 @@ def main():
|
|
125 |
"Length penalty", min_value=0.0, max_value=2.0, value=1.2, step=0.1
|
126 |
)
|
127 |
diversity_penalty = st.sidebar.number_input(
|
128 |
-
"Diversity penalty", min_value=0.0, max_value=2.0, value=0.
|
129 |
)
|
130 |
st.sidebar.markdown(
|
131 |
"""For an explanation of the parameters, head over to the [Huggingface blog post about text generation](https://huggingface.co/blog/how-to-generate)
|
|
|
125 |
"Length penalty", min_value=0.0, max_value=2.0, value=1.2, step=0.1
|
126 |
)
|
127 |
diversity_penalty = st.sidebar.number_input(
|
128 |
+
"Diversity penalty", min_value=0.0, max_value=2.0, value=0.1, step=0.1
|
129 |
)
|
130 |
st.sidebar.markdown(
|
131 |
"""For an explanation of the parameters, head over to the [Huggingface blog post about text generation](https://huggingface.co/blog/how-to-generate)
|