Spaces:
Build error
Build error
Commit
·
f0873f9
1
Parent(s):
9084e14
Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +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 |
-
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:
|
|
|
19 |
if st.button("Generate"):
|
20 |
#st.text("Keywords: {}\n".format(keywords))
|
21 |
#st.text("Length in number of words: {}\n".format(length))
|
22 |
+
st.text(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:
|