eaglelandsonce commited on
Commit
d6578a5
·
verified ·
1 Parent(s): e427d42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -15
app.py CHANGED
@@ -406,21 +406,21 @@ with tab1:
406
  # Set up the Streamlit interface
407
  col1, col2 = st.columns([1, 5])
408
 
409
- with col1:
410
- st.image('crewai/resouces/whale.jpg')
411
-
412
- with col2:
413
- # Input for the user
414
- input_topic = st.text_area("Input Topic", height=100, placeholder="Input Topic...")
415
- st.session_state['on_topic'] = input_topic
416
- # Button to run the process
417
- if st.button("Create a Story"):
418
- # Run the crewai process
419
- with st.spinner('Generating Content...'):
420
- result = crewai_process(input_topic)
421
- # Display the result
422
- st.session_state['text_block'] = result
423
- st.text_area("Output", value=result , height=300)
424
 
425
  # Tab 2: Data Visualization
426
  with tab2:
 
406
  # Set up the Streamlit interface
407
  col1, col2 = st.columns([1, 5])
408
 
409
+ with col1:
410
+ st.image('crewai/resouces/whale.jpg')
411
+
412
+ with col2:
413
+ # Input for the user
414
+ input_topic = st.text_area("Input Topic", height=100, placeholder="Input Topic...")
415
+ st.session_state['on_topic'] = input_topic
416
+ # Button to run the process
417
+ if st.button("Create a Story"):
418
+ # Run the crewai process
419
+ with st.spinner('Generating Content...'):
420
+ result = crewai_process(input_topic)
421
+ # Display the result
422
+ st.session_state['text_block'] = result
423
+ st.text_area("Output", value=result , height=300)
424
 
425
  # Tab 2: Data Visualization
426
  with tab2: