Spaces:
Runtime error
Runtime error
Commit
·
342fd9b
1
Parent(s):
8859607
Update app.py
Browse files
app.py
CHANGED
|
@@ -160,6 +160,7 @@ if uploaded_image is not None:
|
|
| 160 |
st.header("Image Uploded!, Processing...")
|
| 161 |
if load_saved_artifacts():
|
| 162 |
img = cv2.imread(display_image)
|
|
|
|
| 163 |
|
| 164 |
result = classify_image(get_b64_test_image_for_virat(), display_image)
|
| 165 |
#st.text(result[0])
|
|
|
|
| 160 |
st.header("Image Uploded!, Processing...")
|
| 161 |
if load_saved_artifacts():
|
| 162 |
img = cv2.imread(display_image)
|
| 163 |
+
img = cv2.resize(img, (130, 130))
|
| 164 |
|
| 165 |
result = classify_image(get_b64_test_image_for_virat(), display_image)
|
| 166 |
#st.text(result[0])
|