jcarbonnell commited on
Commit
9e9f324
1 Parent(s): b6583b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -16,11 +16,11 @@ topics=["NFT", "Blockchain", "Metaverse"]
16
  choice = st.sidebar.selectbox("Select one topic", topics)
17
 
18
  if choice == 'NFT':
19
- keywords=st.text_area("Input 4 keywords here: (optional)")
20
- length=st.text_area("How long should be your text? (default: 512 words)")
21
 
22
  if st.button("Generate"):
23
- model("", num_return_sequences=1)
24
  #summary = summarize(generated_text, num_sentences=1)
25
 
26
  #st.text("Keywords: {}\n".format(keywords))
 
16
  choice = st.sidebar.selectbox("Select one topic", topics)
17
 
18
  if choice == 'NFT':
19
+ keywords=st.text_area("Input keywords here: (optional)")
20
+ length=st.text_area("How long do you want your text to be? (default: 512 words)")
21
 
22
  if st.button("Generate"):
23
+ generated_text = model("")
24
  #summary = summarize(generated_text, num_sentences=1)
25
 
26
  #st.text("Keywords: {}\n".format(keywords))