Mo-alaa commited on
Commit
f942032
1 Parent(s): 58009b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -97,6 +97,7 @@ if topic in keys:
97
  selected_idea = st.sidebar.selectbox("Select Idea", keys, key=f"selectbox{topic}", index=index)
98
  # Display content and image for the selected idea
99
  selected_idea_from_list = next((idea for idea in existing_ideas if selected_idea in idea), None)
 
100
  st.markdown(selected_idea_from_list[selected_idea]["content"])
101
  st.image(selected_idea_from_list[selected_idea]["image_path"])
102
  else:
 
97
  selected_idea = st.sidebar.selectbox("Select Idea", keys, key=f"selectbox{topic}", index=index)
98
  # Display content and image for the selected idea
99
  selected_idea_from_list = next((idea for idea in existing_ideas if selected_idea in idea), None)
100
+ st.subheader(selected_idea)
101
  st.markdown(selected_idea_from_list[selected_idea]["content"])
102
  st.image(selected_idea_from_list[selected_idea]["image_path"])
103
  else: