Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,4 +66,4 @@ def predict(img):
|
|
66 |
|
67 |
return dict([[labels[i], float(otpt[i])] for i in range(len(labels))]),inp_img
|
68 |
|
69 |
-
gr.Interface(fn=predict, inputs=gr.inputs.Image(type='filepath'), outputs=[gr.outputs.Label(num_top_classes=10), gr.outputs.Image()]).launch(
|
|
|
66 |
|
67 |
return dict([[labels[i], float(otpt[i])] for i in range(len(labels))]),inp_img
|
68 |
|
69 |
+
gr.Interface(fn=predict, inputs=gr.inputs.Image(type='filepath'), outputs=[gr.outputs.Label(num_top_classes=10), gr.outputs.Image()]).launch()
|