Update app.py
Browse files
app.py
CHANGED
@@ -297,11 +297,11 @@ with tab1:
|
|
297 |
# Button to run the process
|
298 |
if st.button("Run"):
|
299 |
# Run the crewai process
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
|
306 |
# Tab 2: Data Visualization
|
307 |
with tab2:
|
|
|
297 |
# Button to run the process
|
298 |
if st.button("Run"):
|
299 |
# Run the crewai process
|
300 |
+
with st.spinner('Generating Content...'):
|
301 |
+
result = crewai_process(input_topic)
|
302 |
+
# Display the result
|
303 |
+
st.session_state['text_block'] = result
|
304 |
+
st.text_area("Output", key="text_block" , height=300)
|
305 |
|
306 |
# Tab 2: Data Visualization
|
307 |
with tab2:
|