Spaces:
Build error
Build error
Ibrahim-Fateen
commited on
Commit
·
91a3ad5
1
Parent(s):
b51b081
new model
Browse files
app.py
CHANGED
|
@@ -3,9 +3,7 @@ import gradio as gr
|
|
| 3 |
|
| 4 |
|
| 5 |
def classify_image(img):
|
| 6 |
-
print(img)
|
| 7 |
img_pil = PILImage.create(img)
|
| 8 |
-
print(img_pil)
|
| 9 |
img_resized = img_pil.resize((224, 224))
|
| 10 |
|
| 11 |
pred, idx, probs = learn.predict(img_resized)
|
|
|
|
| 3 |
|
| 4 |
|
| 5 |
def classify_image(img):
|
|
|
|
| 6 |
img_pil = PILImage.create(img)
|
|
|
|
| 7 |
img_resized = img_pil.resize((224, 224))
|
| 8 |
|
| 9 |
pred, idx, probs = learn.predict(img_resized)
|
model.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 87555133
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6060772a73e454fb21d3bfbe1f4ec00e8060dd41c62d787e0851d432d706cd99
|
| 3 |
size 87555133
|