Spaces:
Paused
Paused
add enable_queue
Browse files51 unmodified lines525354555655565758596061626360616263646566676851 unmodified lines
transform,ort_session = initialize_model(model_file=model_file)
gr.Interface( get_text,iface = gr.Interface( fn=get_text, inputs=gr.Image(type="pil"), outputs=gr.Textbox(), title="Text Captcha Reader", examples=["8000.png","11JW29.png","2a8486.jpg","2nbcx.png", "000679.png","000HU.png","00Uga.png.jpg","00bAQwhAZU.jpg", "00h57kYf.jpg","0EoHdtVb.png","0JS21.png","0p98z.png","10010.png"]).launch(enable_queue=True) examples=["8000.png", "11JW29.png", "2a8486.jpg", "2nbcx.png", "000679.png", "000HU.png", "00Uga.png.jpg", "00bAQwhAZU.jpg", "00h57kYf.jpg", "0EoHdtVb.png", "0JS21.png", "0p98z.png", "10010.png"])
iface.launch(enable_queue=True)
# if __name__ == "__main__":# image_path = "8000.png"app.py+8-6