Spaces:
Running
Running
Commit
·
06f6657
1
Parent(s):
a367aa2
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ if 'image' in locals(): # Check if image variable exists
|
|
48 |
st.info('Worked1')
|
49 |
|
50 |
# Ensure image shape is correct and add batch dimension
|
51 |
-
img_array = preprocess(
|
52 |
|
53 |
st.info('Worked2')
|
54 |
|
|
|
48 |
st.info('Worked1')
|
49 |
|
50 |
# Ensure image shape is correct and add batch dimension
|
51 |
+
img_array = preprocess(file) # This should return an array of shape (1, 256, 256, 3)
|
52 |
|
53 |
st.info('Worked2')
|
54 |
|