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