Phani1008 commited on
Commit
9c0b31e
verified
1 Parent(s): 7772216

Update pages/1_Introduction.py

Browse files
Files changed (1) hide show
  1. pages/1_Introduction.py +5 -3
pages/1_Introduction.py CHANGED
@@ -3,11 +3,14 @@ from PIL import Image
3
  import io
4
 
5
  # Path to the image generated by DALL-E
6
- image_path = r"file:///C:/Users/USER/Downloads/DALL%C2%B7E%202024-12-28%2015.42.29%20-%20A%20scene%20showing%20a%20father%20sitting%20with%20his%20child%20in%20a%20cozy%20living%20room.%20The%20father%20is%20pointing%20to%20a%20series%20of%20pictures%20of%20animals,%20including%20a%20dog%20and%20.webp"
7
 
8
  # Open the image
9
- image = Image.open(image_path)
10
 
 
 
 
 
11
  # Title and introduction
12
  st.title('Understanding Machine Learning: Teaching Machines Like Children')
13
 
@@ -18,7 +21,6 @@ In this app, we'll use the analogy of a father teaching his child to explain the
18
  """)
19
 
20
  # Display the image
21
- st.image(image, caption="A father teaching his child by showing dog and cat pictures")
22
  # Supervised Learning Explanation
23
  st.header('Supervised Learning')
24
  st.write("""
 
3
  import io
4
 
5
  # Path to the image generated by DALL-E
6
+ image_path = r"C:\Users\USER\Downloads\DALL路E 2024-12-28 15.42.29 - A scene showing a father sitting with his child in a cozy living room. The father is pointing to a series of pictures of animals, including a dog and .webp"
7
 
8
  # Open the image
 
9
 
10
+
11
+ image = Image.open(r"C:\Users\USER\Downloads\DALL路E 2024-12-28 15.42.29 - A scene showing a father sitting with his child in a cozy living room. The father is pointing to a series of pictures of animals, including a dog and .webp")
12
+
13
+ st.image(image, caption='A father teaching his child by showing dog and cat pictures')
14
  # Title and introduction
15
  st.title('Understanding Machine Learning: Teaching Machines Like Children')
16
 
 
21
  """)
22
 
23
  # Display the image
 
24
  # Supervised Learning Explanation
25
  st.header('Supervised Learning')
26
  st.write("""