Update app.py
Browse files
app.py
CHANGED
|
@@ -315,7 +315,7 @@ with tab2:
|
|
| 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(
|
| 319 |
prompts = [' '.join(chunk) for chunk in sentence_chunks]
|
| 320 |
cols = st.columns(4)
|
| 321 |
with st.spinner('Generating Content...'):
|
|
|
|
| 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)
|
| 321 |
with st.spinner('Generating Content...'):
|