Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,5 +21,5 @@ def predict(img):
|
|
| 21 |
clas, idx, probs = learn.predict(img)
|
| 22 |
return "Dog" if clas == "False" else "Cat"
|
| 23 |
|
| 24 |
-
iface = gr.Interface(fn=predict, inputs="image", outputs="
|
| 25 |
iface.launch()
|
|
|
|
| 21 |
clas, idx, probs = learn.predict(img)
|
| 22 |
return "Dog" if clas == "False" else "Cat"
|
| 23 |
|
| 24 |
+
iface = gr.Interface(fn=predict, inputs="image", outputs="label")
|
| 25 |
iface.launch()
|