Spaces:
Build error
Build error
jcarbonnell
commited on
Commit
•
425d3bb
1
Parent(s):
4a98f1a
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ 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 |
-
generated = generate(manual_input, 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)
|
|
|
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(manual_input, max_length = 512, 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)
|