Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,9 @@ def predict(img):
|
|
9 |
return pred
|
10 |
|
11 |
|
12 |
-
gr.Interface(fn=predict,
|
13 |
inputs=gr.inputs.Image(shape=(512, 512)),
|
14 |
outputs=gr.outputs.Label(),
|
15 |
-
interpretation="default")
|
|
|
|
|
|
9 |
return pred
|
10 |
|
11 |
|
12 |
+
interface = gr.Interface(fn=predict,
|
13 |
inputs=gr.inputs.Image(shape=(512, 512)),
|
14 |
outputs=gr.outputs.Label(),
|
15 |
+
interpretation="default")
|
16 |
+
|
17 |
+
interface.launch()
|