Onix4oDedy commited on
Commit
e5e32df
·
verified ·
1 Parent(s): 84a5149

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ def image_classifier(inp):
86
  inp.save(img_byte_arr, format='PNG')
87
  img_byte_arr = img_byte_arr.getvalue()
88
  result = solve_captcha(img_byte_arr)
89
- return str(result)
90
  #gr.Image(type="pil"),
91
  demo = gr.Interface(fn=image_classifier, inputs= gr.Image(type="pil"), outputs="textbox")
92
  demo.launch()
 
86
  inp.save(img_byte_arr, format='PNG')
87
  img_byte_arr = img_byte_arr.getvalue()
88
  result = solve_captcha(img_byte_arr)
89
+ return result
90
  #gr.Image(type="pil"),
91
  demo = gr.Interface(fn=image_classifier, inputs= gr.Image(type="pil"), outputs="textbox")
92
  demo.launch()