Update app.py
Browse files
app.py
CHANGED
|
@@ -517,12 +517,14 @@ with tab3:
|
|
| 517 |
st.write(image_text_output)
|
| 518 |
st.divider()
|
| 519 |
|
|
|
|
|
|
|
| 520 |
st.header("Create a Story About This Image")
|
| 521 |
|
| 522 |
|
| 523 |
# Button for actions related to the selected image
|
| 524 |
if st.button("Create a New Story"):
|
| 525 |
-
|
| 526 |
crewai_process(image_text_output)
|
| 527 |
switch_tab(tabs[0])
|
| 528 |
|
|
|
|
| 517 |
st.write(image_text_output)
|
| 518 |
st.divider()
|
| 519 |
|
| 520 |
+
st.session_state['on_topic'] = image_text_output
|
| 521 |
+
|
| 522 |
st.header("Create a Story About This Image")
|
| 523 |
|
| 524 |
|
| 525 |
# Button for actions related to the selected image
|
| 526 |
if st.button("Create a New Story"):
|
| 527 |
+
|
| 528 |
crewai_process(image_text_output)
|
| 529 |
switch_tab(tabs[0])
|
| 530 |
|