nichaphat commited on
Commit
034ef99
·
1 Parent(s): 1fd098f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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__":