Phani1008 commited on
Commit
f733121
·
verified ·
1 Parent(s): 36ec8b9

Update pages/1_Introduction.py

Browse files
Files changed (1) hide show
  1. pages/1_Introduction.py +9 -0
pages/1_Introduction.py CHANGED
@@ -5,6 +5,15 @@ import io
5
 
6
  # Base64 encoded image string (ensure the base64 string is complete)
7
 
 
 
 
 
 
 
 
 
 
8
 
9
  # Title and introduction
10
  st.title('Understanding Machine Learning: Teaching Machines Like Children')
 
5
 
6
  # Base64 encoded image string (ensure the base64 string is complete)
7
 
8
+ from PIL import Image
9
+
10
+ image_path = r"C:\Users\USER\Downloads\WhatsApp Image 2024-12-28 at 14.09.31.jpeg"
11
+
12
+ try:
13
+ image = Image.open(image_path)
14
+ image.show() # To display the image
15
+ except Exception as e:
16
+ print(f"Error opening image: {e}")
17
 
18
  # Title and introduction
19
  st.title('Understanding Machine Learning: Teaching Machines Like Children')