amkj84 commited on
Commit
86ca5d3
·
verified ·
1 Parent(s): 2eb3aba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -4
app.py CHANGED
@@ -34,7 +34,9 @@ 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/1jlx2F6INp5ek/giphy.gif", caption="Digestive Process (GIF)") # Correct GIF URL
 
 
38
  st.balloons()
39
 
40
  elif selected_section == "Organs of the Digestive System":
@@ -51,7 +53,9 @@ 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,7 +69,9 @@ 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/1jlx2F6INp5ek/giphy.gif", caption="Digestion in Action (GIF)") # Correct GIF URL
 
 
69
 
70
  with st.spinner("Simulating digestion..."):
71
  time.sleep(2)
@@ -107,4 +113,7 @@ 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/1jlx2F6INp5ek/giphy.gif", caption="Quiz Complete (GIF)") # Correct GIF URL
 
 
 
 
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
+
38
+ # Relevant Digestive Process GIF from Giphy
39
+ st.image("https://media.giphy.com/media/jTqboGlCkiQ7e/giphy.gif", caption="Digestive Process (GIF)") # Updated relevant GIF
40
  st.balloons()
41
 
42
  elif selected_section == "Organs of the Digestive System":
 
53
  - **Rectum and Anus**: Store and eliminate waste.
54
  """)
55
  st.image("https://cdn.pixabay.com/photo/2017/07/25/13/01/intestine-2531936_960_720.png", caption="Illustration of Digestive Organs")
56
+
57
+ # Embedding a video related to digestive organs
58
+ st.video("https://www.youtube.com/watch?v=1H2V9X4TcK0", caption="Digestive System Organs Video")
59
 
60
  elif selected_section == "Process of Digestion":
61
  st.header("Process of Digestion")
 
69
  6. **Elimination**: Waste is eliminated through the rectum and anus.
70
  """)
71
  st.image("https://cdn.pixabay.com/photo/2017/07/25/13/01/digestive-2531937_960_720.png", caption="Step-by-step Digestive Process")
72
+
73
+ # Adding a relevant Digestive Process GIF
74
+ st.image("https://media.giphy.com/media/jTqboGlCkiQ7e/giphy.gif", caption="Digestion in Action (GIF)") # Relevant GIF for digestion
75
 
76
  with st.spinner("Simulating digestion..."):
77
  time.sleep(2)
 
113
 
114
  st.write("🎉 Keep learning and practicing! Great job!")
115
  st_lottie(lottie_quiz_complete, height=300, key="quiz_animation")
116
+
117
+ # Embedding another video for quiz results
118
+ st.video("https://www.youtube.com/watch?v=2DlwJlXjqZ8", caption="Quiz Completion Video")
119
+