jcarbonnell commited on
Commit
b8ed95e
1 Parent(s): d148561

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -19,7 +19,8 @@ if choice == 'NFT':
19
  if st.button("Generate"):
20
  #st.text("Keywords: {}\n".format(keywords))
21
  #st.text("Length in number of words: {}\n".format(length))
22
- generate("", num_return_sequences=1)
 
23
  #summary = summarize(generated_text, num_sentences=1)
24
  #st.text("This is a tweet-sized summary of your article: ", summary)
25
  else:
 
19
  if st.button("Generate"):
20
  #st.text("Keywords: {}\n".format(keywords))
21
  #st.text("Length in number of words: {}\n".format(length))
22
+ generated = generate("", num_return_sequences=1)
23
+ st.text(generated)
24
  #summary = summarize(generated_text, num_sentences=1)
25
  #st.text("This is a tweet-sized summary of your article: ", summary)
26
  else: