Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ if file is not None:
|
|
56 |
row = df.iloc[0]
|
57 |
|
58 |
# Load image
|
59 |
-
image = np.array(Image.open(row[0]))
|
60 |
# Reshape
|
61 |
img_reshaped = image_resize(row)
|
62 |
|
@@ -80,7 +80,7 @@ if file is not None:
|
|
80 |
col1, col2 = st.columns(2)
|
81 |
with col1:
|
82 |
st.header("Input Image")
|
83 |
-
st.image(image)
|
84 |
with col2:
|
85 |
st.header("Prediction")
|
86 |
st.metric("Digit", full_name)
|
|
|
56 |
row = df.iloc[0]
|
57 |
|
58 |
# Load image
|
59 |
+
# image = np.array(Image.open(row[0]))
|
60 |
# Reshape
|
61 |
img_reshaped = image_resize(row)
|
62 |
|
|
|
80 |
col1, col2 = st.columns(2)
|
81 |
with col1:
|
82 |
st.header("Input Image")
|
83 |
+
# st.image(image)
|
84 |
with col2:
|
85 |
st.header("Prediction")
|
86 |
st.metric("Digit", full_name)
|