Spaces:
Build error
Build error
Commit
·
16e106c
1
Parent(s):
fccc3c5
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ if choice == 'NFT':
|
|
| 20 |
#st.text("Keywords: {}\n".format(keywords))
|
| 21 |
#st.text("Length in number of words: {}\n".format(length))
|
| 22 |
generated_text = generate("", num_return_sequences=1)
|
| 23 |
-
st.text("This is your tailored blog article:
|
| 24 |
#summary = summarize(generated_text, num_sentences=1)
|
| 25 |
#st.text("This is a tweet-sized summary of your article: ", summary)
|
| 26 |
else:
|
|
|
|
| 20 |
#st.text("Keywords: {}\n".format(keywords))
|
| 21 |
#st.text("Length in number of words: {}\n".format(length))
|
| 22 |
generated_text = generate("", num_return_sequences=1)
|
| 23 |
+
st.text("This is your tailored blog article: {generated_text}")
|
| 24 |
#summary = summarize(generated_text, num_sentences=1)
|
| 25 |
#st.text("This is a tweet-sized summary of your article: ", summary)
|
| 26 |
else:
|