jcarbonnell commited on
Commit
3ba6506
·
1 Parent(s): 3ca64ff

Update app.py

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