Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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()
|