Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,6 @@ def classify_image(image):
|
|
| 13 |
pred_class, pred_idx, outputs = learner.predict(img)
|
| 14 |
return(f"Predicted class: {pred_class}")
|
| 15 |
|
| 16 |
-
demo = gr.Interface(classify_image, gr.Image(shape=(224, 224)), "text")
|
| 17 |
|
| 18 |
gr.Interface(fn=classify_image,
|
| 19 |
inputs=gr.Image(width=224, height=224),
|
|
|
|
| 13 |
pred_class, pred_idx, outputs = learner.predict(img)
|
| 14 |
return(f"Predicted class: {pred_class}")
|
| 15 |
|
|
|
|
| 16 |
|
| 17 |
gr.Interface(fn=classify_image,
|
| 18 |
inputs=gr.Image(width=224, height=224),
|