Spaces:
Running
Running
Commit
·
91e61f6
1
Parent(s):
f434ef0
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ try:
|
|
48 |
img = preprocess(image)
|
49 |
|
50 |
model = model_arc()
|
51 |
-
model.load_weights("classify_model.h5")
|
52 |
|
53 |
prediction = model.predict(img[np.newaxis, ...])
|
54 |
st.info('Hey! The uploaded image has been classified as " {} waste " '.format(labels[np.argmax(prediction[0], axis=-1)]))
|
|
|
48 |
img = preprocess(image)
|
49 |
|
50 |
model = model_arc()
|
51 |
+
#model.load_weights("classify_model.h5")
|
52 |
|
53 |
prediction = model.predict(img[np.newaxis, ...])
|
54 |
st.info('Hey! The uploaded image has been classified as " {} waste " '.format(labels[np.argmax(prediction[0], axis=-1)]))
|