Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ 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(
|
17 |
demo.launch(share=True)
|
18 |
|
19 |
|
|
|
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(), "text")
|
17 |
demo.launch(share=True)
|
18 |
|
19 |
|