Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ def predict(image):
|
|
| 8 |
if image is None:
|
| 9 |
return None
|
| 10 |
results = classifier(image)
|
| 11 |
-
return
|
| 12 |
|
| 13 |
gr.Interface(
|
| 14 |
fn=predict,
|
|
|
|
| 8 |
if image is None:
|
| 9 |
return None
|
| 10 |
results = classifier(image)
|
| 11 |
+
return result["label"]
|
| 12 |
|
| 13 |
gr.Interface(
|
| 14 |
fn=predict,
|