Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def main():
|
|
13 |
# clicked==True only when the button is clicked
|
14 |
clicked = st.form_submit_button("Generate")
|
15 |
if clicked:
|
16 |
-
results = text_generator([text], max_length=200, do_sample=False)
|
17 |
st.json(results)
|
18 |
|
19 |
if __name__ == "__main__":
|
|
|
13 |
# clicked==True only when the button is clicked
|
14 |
clicked = st.form_submit_button("Generate")
|
15 |
if clicked:
|
16 |
+
results = text_generator([text], max_length=200, do_sample=False)
|
17 |
st.json(results)
|
18 |
|
19 |
if __name__ == "__main__":
|