Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def blurr_predict(img_iter):
|
|
48 |
def make_prediction(img_content):
|
49 |
pil_image = Image.open(img_content)
|
50 |
imgplot = plt.imshow(pil_image)
|
51 |
-
st
|
52 |
plt.show()
|
53 |
gray_cvimage = cv2.cvtColor(np.array(pil_image), cv2.COLOR_RGB2GRAY)
|
54 |
#print(gray_cvimage)
|
|
|
48 |
def make_prediction(img_content):
|
49 |
pil_image = Image.open(img_content)
|
50 |
imgplot = plt.imshow(pil_image)
|
51 |
+
st.image(pil_image)
|
52 |
plt.show()
|
53 |
gray_cvimage = cv2.cvtColor(np.array(pil_image), cv2.COLOR_RGB2GRAY)
|
54 |
#print(gray_cvimage)
|