suko commited on
Commit
2ea306a
1 Parent(s): 311d138

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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).launch(server_port=80)
 
 
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()