Spaces:
Build error
Build error
Commit
·
d148561
1
Parent(s):
f0873f9
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 |
-
|
| 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 |
+
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:
|