Spaces:
Runtime error
Runtime error
Commit
·
6d8e22b
1
Parent(s):
114a31b
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,8 +36,9 @@ img = st.file_uploader("Choose an image", type=["jpg", "jpeg", "png"])
|
|
| 36 |
|
| 37 |
if img is not None:
|
| 38 |
# image = Image.open(BytesIO(img.read()))
|
| 39 |
-
|
| 40 |
-
|
|
|
|
| 41 |
|
| 42 |
|
| 43 |
|
|
|
|
| 36 |
|
| 37 |
if img is not None:
|
| 38 |
# image = Image.open(BytesIO(img.read()))
|
| 39 |
+
image = process_file(img)
|
| 40 |
+
output = query(image)
|
| 41 |
+
st.write("Predicted Output:", output)
|
| 42 |
|
| 43 |
|
| 44 |
|