Update app.py
Browse filesRemoved the shared true and changed to false
app.py
CHANGED
@@ -10,6 +10,6 @@ def predict(img):
|
|
10 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
11 |
|
12 |
|
13 |
-
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=3))
|
14 |
-
|
15 |
|
|
|
|
10 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
11 |
|
12 |
|
13 |
+
intrf = gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=3))
|
|
|
14 |
|
15 |
+
intrf.launch(inline=False)
|