Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ if selected_section == "Introduction":
|
|
34 |
st.header("Introduction")
|
35 |
st.write("The digestive system is a group of organs that work together to break down food into smaller parts so the body can use them for energy, growth, and repair.")
|
36 |
st_lottie(lottie_digestive_system, height=300, key="intro_animation")
|
37 |
-
st.image("https://media.giphy.com/media/
|
38 |
st.balloons()
|
39 |
|
40 |
elif selected_section == "Organs of the Digestive System":
|
@@ -51,7 +51,7 @@ elif selected_section == "Organs of the Digestive System":
|
|
51 |
- **Rectum and Anus**: Store and eliminate waste.
|
52 |
""")
|
53 |
st.image("https://cdn.pixabay.com/photo/2017/07/25/13/01/intestine-2531936_960_720.png", caption="Illustration of Digestive Organs")
|
54 |
-
st.image("https://media.giphy.com/media/
|
55 |
|
56 |
elif selected_section == "Process of Digestion":
|
57 |
st.header("Process of Digestion")
|
@@ -65,7 +65,7 @@ elif selected_section == "Process of Digestion":
|
|
65 |
6. **Elimination**: Waste is eliminated through the rectum and anus.
|
66 |
""")
|
67 |
st.image("https://cdn.pixabay.com/photo/2017/07/25/13/01/digestive-2531937_960_720.png", caption="Step-by-step Digestive Process")
|
68 |
-
st.image("https://media.giphy.com/media/
|
69 |
|
70 |
with st.spinner("Simulating digestion..."):
|
71 |
time.sleep(2)
|
@@ -107,5 +107,4 @@ elif selected_section == "Quiz":
|
|
107 |
|
108 |
st.write("🎉 Keep learning and practicing! Great job!")
|
109 |
st_lottie(lottie_quiz_complete, height=300, key="quiz_animation")
|
110 |
-
st.image("https://media.giphy.com/media/
|
111 |
-
|
|
|
34 |
st.header("Introduction")
|
35 |
st.write("The digestive system is a group of organs that work together to break down food into smaller parts so the body can use them for energy, growth, and repair.")
|
36 |
st_lottie(lottie_digestive_system, height=300, key="intro_animation")
|
37 |
+
st.image("https://media.giphy.com/media/1jlx2F6INp5ek/giphy.gif", caption="Digestive Process (GIF)") # Correct GIF URL
|
38 |
st.balloons()
|
39 |
|
40 |
elif selected_section == "Organs of the Digestive System":
|
|
|
51 |
- **Rectum and Anus**: Store and eliminate waste.
|
52 |
""")
|
53 |
st.image("https://cdn.pixabay.com/photo/2017/07/25/13/01/intestine-2531936_960_720.png", caption="Illustration of Digestive Organs")
|
54 |
+
st.image("https://media.giphy.com/media/1jlx2F6INp5ek/giphy.gif", caption="Digestive Organs in Motion (GIF)") # Correct GIF URL
|
55 |
|
56 |
elif selected_section == "Process of Digestion":
|
57 |
st.header("Process of Digestion")
|
|
|
65 |
6. **Elimination**: Waste is eliminated through the rectum and anus.
|
66 |
""")
|
67 |
st.image("https://cdn.pixabay.com/photo/2017/07/25/13/01/digestive-2531937_960_720.png", caption="Step-by-step Digestive Process")
|
68 |
+
st.image("https://media.giphy.com/media/1jlx2F6INp5ek/giphy.gif", caption="Digestion in Action (GIF)") # Correct GIF URL
|
69 |
|
70 |
with st.spinner("Simulating digestion..."):
|
71 |
time.sleep(2)
|
|
|
107 |
|
108 |
st.write("🎉 Keep learning and practicing! Great job!")
|
109 |
st_lottie(lottie_quiz_complete, height=300, key="quiz_animation")
|
110 |
+
st.image("https://media.giphy.com/media/1jlx2F6INp5ek/giphy.gif", caption="Quiz Complete (GIF)") # Correct GIF URL
|
|