Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,6 @@ def detect(inp):
|
|
16 |
return res
|
17 |
|
18 |
inp = gr.inputs.Image(type='filepath', label="Input Image")
|
19 |
-
output=gr.outputs.
|
20 |
io=gr.Interface(fn=detect, inputs=inp, outputs=output, title='Party Symbol Detector API',examples=['8.jpg','24.jpg'])
|
21 |
io.launch(debug=True,share=False)
|
|
|
16 |
return res
|
17 |
|
18 |
inp = gr.inputs.Image(type='filepath', label="Input Image")
|
19 |
+
output=gr.outputs.JSON(label='Response')
|
20 |
io=gr.Interface(fn=detect, inputs=inp, outputs=output, title='Party Symbol Detector API',examples=['8.jpg','24.jpg'])
|
21 |
io.launch(debug=True,share=False)
|