Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -101,4 +101,5 @@ def predict(image):
|
|
101 |
inputs = gr.inputs.Image(type="pil")
|
102 |
outputs = gr.outputs.JSON()
|
103 |
|
104 |
-
gr.Interface(title="Naked Detector",fn=predict, inputs=inputs, outputs=outputs)
|
|
|
|
101 |
inputs = gr.inputs.Image(type="pil")
|
102 |
outputs = gr.outputs.JSON()
|
103 |
|
104 |
+
runtime=gr.Interface(title="Naked Detector",fn=predict, inputs=inputs, outputs=outputs)
|
105 |
+
runtime.launch()
|