Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def predict_image(image, model_name):
|
|
58 |
image = gr.inputs.Image(shape=(300, 300), label="Upload Your Image Here")
|
59 |
label = gr.outputs.Label(num_top_classes=len(labels))
|
60 |
|
61 |
-
samples = [["samples/" + p + "
|
62 |
|
63 |
interface = gr.Interface(
|
64 |
fn=predict_image,
|
|
|
58 |
image = gr.inputs.Image(shape=(300, 300), label="Upload Your Image Here")
|
59 |
label = gr.outputs.Label(num_top_classes=len(labels))
|
60 |
|
61 |
+
samples = [["samples/" + p + ".jpg"] for p in labels]
|
62 |
|
63 |
interface = gr.Interface(
|
64 |
fn=predict_image,
|