Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def predict_image(image, model_name):
|
|
50 |
image = gr.inputs.Image(shape=(300, 300), label="Upload Your Image Here")
|
51 |
label = gr.outputs.Label(num_top_classes=len(labels))
|
52 |
|
53 |
-
samples = [["samples/" + p + ".jpg"
|
54 |
|
55 |
interface = gr.Interface(
|
56 |
fn=predict_image,
|
|
|
50 |
image = gr.inputs.Image(shape=(300, 300), label="Upload Your Image Here")
|
51 |
label = gr.outputs.Label(num_top_classes=len(labels))
|
52 |
|
53 |
+
samples = [["samples/" + p + ".jpg"] for p in labels]
|
54 |
|
55 |
interface = gr.Interface(
|
56 |
fn=predict_image,
|