eaglelandsonce commited on
Commit
a04a00b
·
verified ·
1 Parent(s): 6d13a49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -297,7 +297,7 @@ with tab1:
297
  # Run the crewai process
298
  result = crewai_process(input_topic)
299
  # Display the result
300
- st.text_area("Output", value=result, height=300)
301
 
302
  # Tab 2: Data Visualization
303
  with tab2:
@@ -305,12 +305,12 @@ with tab2:
305
  #st.set_page_config(Create Image and Audio Generator', layout='wide')
306
 
307
  # Streamlit sidebar elements
308
- st.sidebar.title("Image-Audio Book")
309
- text_block = st.sidebar.text_area("Enter your text block:")
310
 
311
  # Streamlit main page
312
  st.title('Images and Audio with Clarifai')
313
- if st.sidebar.button("Generate Images and Audio"):
314
  sentence_chunks = split_text_into_sentences_and_chunks(text_block, 8)
315
  prompts = [' '.join(chunk) for chunk in sentence_chunks]
316
  cols = st.columns(4)
 
297
  # Run the crewai process
298
  result = crewai_process(input_topic)
299
  # Display the result
300
+ text_block = st.text_area("Output", value=result, height=300)
301
 
302
  # Tab 2: Data Visualization
303
  with tab2:
 
305
  #st.set_page_config(Create Image and Audio Generator', layout='wide')
306
 
307
  # Streamlit sidebar elements
308
+ st.title("Image-Audio Book")
309
+ # text_block = st.sidebar.text_area("Enter your text block:")
310
 
311
  # Streamlit main page
312
  st.title('Images and Audio with Clarifai')
313
+ if st.button("Generate Images and Audio"):
314
  sentence_chunks = split_text_into_sentences_and_chunks(text_block, 8)
315
  prompts = [' '.join(chunk) for chunk in sentence_chunks]
316
  cols = st.columns(4)