Spaces:
Sleeping
Sleeping
Update pages/1_Introduction.py
Browse files- pages/1_Introduction.py +2 -2
pages/1_Introduction.py
CHANGED
|
@@ -3,7 +3,7 @@ from PIL import Image
|
|
| 3 |
import io
|
| 4 |
|
| 5 |
# Path to the image generated by DALL-E
|
| 6 |
-
image_path = r"C
|
| 7 |
|
| 8 |
# Open the image
|
| 9 |
image = Image.open(image_path)
|
|
@@ -19,7 +19,7 @@ In this app, we'll use the analogy of a father teaching his child to explain the
|
|
| 19 |
|
| 20 |
# Display the image
|
| 21 |
st.image(image, caption="A father teaching his child by showing dog and cat pictures")
|
| 22 |
-
|
| 23 |
# Supervised Learning Explanation
|
| 24 |
st.header('Supervised Learning')
|
| 25 |
st.write("""
|
|
|
|
| 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)
|
|
|
|
| 19 |
|
| 20 |
# Display the image
|
| 21 |
st.image(image, caption="A father teaching his child by showing dog and cat pictures")
|
| 22 |
+
st.image(image, caption=None, width=None, use_column_width=None, clamp=False, channels="RGB", output_format="auto", *, use_container_width=False)
|
| 23 |
# Supervised Learning Explanation
|
| 24 |
st.header('Supervised Learning')
|
| 25 |
st.write("""
|