Spaces:
Runtime error
Runtime error
Pantai Suyasri
commited on
Commit
·
7eab7cc
1
Parent(s):
a5b2735
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 = {'Pasta', 'Pizza'}
|
| 14 |
|
| 15 |
def classify_image(img):
|
| 16 |
pred, idx, probs = learn.predict(img)
|