Spaces:
Sleeping
Sleeping
Update pages/1_Introduction.py
Browse files- 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"
|
| 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("""
|