Phani1008 commited on
Commit
e6b2541
·
verified ·
1 Parent(s): b9abc0c

Update pages/1_Introduction.py

Browse files
Files changed (1) hide show
  1. 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 = Image.open('file:///C:/Users/USER/Downloads/DALL%C2%B7E%202024-12-27%2018.19.15%20-%20A%20warm%20and%20cozy%20scene%20of%20a%20father%20sitting%20with%20his%203-year-old%20child%20in%20a%20living%20room,%20showing%20pictures%20of%20dogs%20and%20cats.%20The%20father%20is%20pointing%20at%20a%20p.webp')
 
 
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')