Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -96,6 +96,7 @@ else:
|
|
96 |
def occ_predict(imgpath):
|
97 |
im = []
|
98 |
image=cv2.imread(imgpath)
|
|
|
99 |
#imgplot = plt.imshow(image)
|
100 |
#plt.show()
|
101 |
img = Image.fromarray(image, 'RGB')
|
|
|
96 |
def occ_predict(imgpath):
|
97 |
im = []
|
98 |
image=cv2.imread(imgpath)
|
99 |
+
st.write(type(image))
|
100 |
#imgplot = plt.imshow(image)
|
101 |
#plt.show()
|
102 |
img = Image.fromarray(image, 'RGB')
|