Spaces:
Runtime error
Runtime error
Merge branch 'main' of https://huggingface.co/spaces/ooferdoodles/testing
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ import gradio as gr
|
|
| 10 |
|
| 11 |
learn = load_learner(Path("model.pkl"))
|
| 12 |
|
| 13 |
-
|
| 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)
|