Spaces:
Sleeping
Sleeping
Update pages/1_Introduction.py
Browse files- pages/1_Introduction.py +4 -2
pages/1_Introduction.py
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
from PIL import Image
|
| 3 |
|
| 4 |
-
# Load and display the image directly from file path
|
| 5 |
-
image
|
|
|
|
|
|
|
| 6 |
|
| 7 |
# Title and introduction
|
| 8 |
st.title('Understanding Machine Learning: Teaching Machines Like Children')
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from PIL import Image
|
| 3 |
|
| 4 |
+
# Load and display the image directly from a relative or absolute file path
|
| 5 |
+
# Ensure the image is in the correct folder or update the path accordingly
|
| 6 |
+
image_path = 'C:/Users/USER/Downloads/DALLE_2024-12-27.webp' # Correct the path and name
|
| 7 |
+
image = Image.open(image_path)
|
| 8 |
|
| 9 |
# Title and introduction
|
| 10 |
st.title('Understanding Machine Learning: Teaching Machines Like Children')
|