Ercik commited on
Commit
e95977f
·
1 Parent(s): 8892546

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ uploaded_image = st.file_uploader("Cargar imagen")
17
  if uploaded_image is not None:
18
 
19
  # Convert the uploaded file to a PIL Image object
20
- image = Image.open('/content/Uriel_foto.png').convert('RGB')
21
  image = image.resize((178,218))
22
 
23
  # Convert the PIL Image object to a NumPy array
 
17
  if uploaded_image is not None:
18
 
19
  # Convert the uploaded file to a PIL Image object
20
+ image = Image.open(uploaded_image).convert('RGB')
21
  image = image.resize((178,218))
22
 
23
  # Convert the PIL Image object to a NumPy array