jcarbonnell commited on
Commit
3c75334
·
1 Parent(s): f05e85c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,8 +21,8 @@ if choice == 'NFT':
21
  #st.text("Length in number of words: {}\n".format(length))
22
  generated = generate(manual_input, max_length = 512, num_return_sequences=1)
23
  st.write(generated)
24
- summary = summarize(generated_text, num_sentences=1)
25
- st.write(summary)
26
  else:
27
  st.write("Topic not available yet")
28
 
 
21
  #st.text("Length in number of words: {}\n".format(length))
22
  generated = generate(manual_input, max_length = 512, num_return_sequences=1)
23
  st.write(generated)
24
+ tweet = summarize(generated_text, num_sentences=1)
25
+ st.write(tweet)
26
  else:
27
  st.write("Topic not available yet")
28