Sa-m commited on
Commit
db70238
·
1 Parent(s): 4573347

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.JSON(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)
 
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)