eaglelandsonce commited on
Commit
ef76921
·
verified ·
1 Parent(s): 645ee31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -306,11 +306,12 @@ with tab1:
306
  # Tab 2: Data Visualization
307
  with tab2:
308
 
 
309
 
310
  # Streamlit main page
311
- # st.title('Images and Audio with Clarifai')
312
- if st.sidebar.button("Generate Images and Audio"):
313
- story_result = st.sidebar.text_area("Story", key = "text_block")
314
  sentence_chunks = split_text_into_sentences_and_chunks(story_result , 8)
315
  prompts = [' '.join(chunk) for chunk in sentence_chunks]
316
  cols = st.columns(4)
 
306
  # Tab 2: Data Visualization
307
  with tab2:
308
 
309
+ story_result = text_area("Story", key = "text_block")
310
 
311
  # Streamlit main page
312
+
313
+ if st.button("Generate Images and Audio"):
314
+
315
  sentence_chunks = split_text_into_sentences_and_chunks(story_result , 8)
316
  prompts = [' '.join(chunk) for chunk in sentence_chunks]
317
  cols = st.columns(4)