Spaces:
Build error
Build error
Ryan Kingery commited on
Commit ·
3feba60
1
Parent(s): a9456d3
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ st.markdown("Nothing to see here folks. Just a pretty dumb language model. Like
|
|
| 10 |
text = st.text_input('Enter some text (this will be used to seed the language model)', value='Tell me a story about')
|
| 11 |
max_len = st.number_input('Enter a max number of words to generate', min_value=0, max_value=512, value=MAX_LEN)
|
| 12 |
temperature = st.number_input('Enter a temperature (the higher it is, the more random the output will be)',
|
| 13 |
-
min_value=
|
| 14 |
|
| 15 |
if st.button('Click to run'):
|
| 16 |
vocab = get_vocab()
|
|
|
|
| 10 |
text = st.text_input('Enter some text (this will be used to seed the language model)', value='Tell me a story about')
|
| 11 |
max_len = st.number_input('Enter a max number of words to generate', min_value=0, max_value=512, value=MAX_LEN)
|
| 12 |
temperature = st.number_input('Enter a temperature (the higher it is, the more random the output will be)',
|
| 13 |
+
min_value=0., max_value=100., value=TEMPERATURE)
|
| 14 |
|
| 15 |
if st.button('Click to run'):
|
| 16 |
vocab = get_vocab()
|