Spaces:
Running
Running
Commit
·
14ab7ef
1
Parent(s):
76b6ae6
Update app.py
Browse files
app.py
CHANGED
@@ -51,9 +51,11 @@ try:
|
|
51 |
if st.button('Predict'):
|
52 |
img = preprocess(image)
|
53 |
|
|
|
54 |
model = model_arc()
|
55 |
#model.load_weights("classify_model.h5")
|
56 |
|
|
|
57 |
prediction = model.predict(img[np.newaxis, ...])
|
58 |
|
59 |
print(model.summary())
|
|
|
51 |
if st.button('Predict'):
|
52 |
img = preprocess(image)
|
53 |
|
54 |
+
st.image(img)
|
55 |
model = model_arc()
|
56 |
#model.load_weights("classify_model.h5")
|
57 |
|
58 |
+
print(img[np.newaxis, ...])
|
59 |
prediction = model.predict(img[np.newaxis, ...])
|
60 |
|
61 |
print(model.summary())
|