eaglelandsonce
commited on
Commit
•
7d5dd76
1
Parent(s):
12aee62
Update app.py
Browse files
app.py
CHANGED
@@ -310,11 +310,11 @@ with tab2:
|
|
310 |
#st.set_page_config(Create Image and Audio Generator', layout='wide')
|
311 |
|
312 |
# Streamlit sidebar elements
|
313 |
-
story_result = st.text_area("Story",value = tab2var_textblock)
|
314 |
|
315 |
# Streamlit main page
|
316 |
# st.title('Images and Audio with Clarifai')
|
317 |
-
if st.button("Generate Images and Audio"):
|
318 |
sentence_chunks = split_text_into_sentences_and_chunks(story_result , 8)
|
319 |
prompts = [' '.join(chunk) for chunk in sentence_chunks]
|
320 |
cols = st.columns(4)
|
|
|
310 |
#st.set_page_config(Create Image and Audio Generator', layout='wide')
|
311 |
|
312 |
# Streamlit sidebar elements
|
313 |
+
story_result = st.sidebar.text_area("Story",value = tab2var_textblock)
|
314 |
|
315 |
# Streamlit main page
|
316 |
# st.title('Images and Audio with Clarifai')
|
317 |
+
if st.sidebar.button("Generate Images and Audio"):
|
318 |
sentence_chunks = split_text_into_sentences_and_chunks(story_result , 8)
|
319 |
prompts = [' '.join(chunk) for chunk in sentence_chunks]
|
320 |
cols = st.columns(4)
|