Spaces:
Sleeping
Sleeping
chhetri123
commited on
Commit
•
53207fe
1
Parent(s):
af38d08
Update app.py
Browse files
app.py
CHANGED
@@ -153,7 +153,7 @@ def after(image):
|
|
153 |
img = cv2.cvtColor(img_array, cv2.COLOR_BGR2RGB)
|
154 |
img = cv2.resize(img, (224,224))
|
155 |
img = img.reshape(1,224,224,3)
|
156 |
-
test_img_resized=ResNet152Model.predict(img)
|
157 |
|
158 |
|
159 |
text_inp = ['startofseq']
|
|
|
153 |
img = cv2.cvtColor(img_array, cv2.COLOR_BGR2RGB)
|
154 |
img = cv2.resize(img, (224,224))
|
155 |
img = img.reshape(1,224,224,3)
|
156 |
+
test_img_resized=ResNet152Model.predict(img).reshape(,2048)
|
157 |
|
158 |
|
159 |
text_inp = ['startofseq']
|