Spaces:
Runtime error
Runtime error
Pantai Suyasri commited on
Commit ·
a394a5f
1
Parent(s): e8f91f7
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ import gradio as gr
|
|
| 10 |
|
| 11 |
learn = load_learner(Path("model.pkl"))
|
| 12 |
|
| 13 |
-
categories = {'
|
| 14 |
|
| 15 |
def classify_image(img):
|
| 16 |
pred, idx, probs = learn.predict(img)
|
|
|
|
| 10 |
|
| 11 |
learn = load_learner(Path("model.pkl"))
|
| 12 |
|
| 13 |
+
categories = {'Pizza', 'Pasta'}
|
| 14 |
|
| 15 |
def classify_image(img):
|
| 16 |
pred, idx, probs = learn.predict(img)
|