Spaces:
Build error
Build error
Commit
·
9e9f324
1
Parent(s):
b6583b8
Update app.py
Browse files
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
|
| 20 |
-
length=st.text_area("How long
|
| 21 |
|
| 22 |
if st.button("Generate"):
|
| 23 |
-
model(""
|
| 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))
|