Closed Joystickplays closed 7 months ago
Has there been any updates to this? Thanks
Sorry not yet @Joystickplays
When using gradio_client in flask api and setting gunicorn parameter worker_class='eventlet', an error will occur.
Will require some refactoring of the client that we are planning as part of the 1.0 release
Describe the bug
I currently have a Flask app that uses Gradio API for inferencing. If I run it with normal Flask built-in WSGI server, it'll work. However, I want to run it with gunicorn and gevent in my server.
Have you searched existing issues? 🔎
Reproduction
Then run it with
gunicorn -k gevent -w 1 <app_name>:app --bind 0.0.0.0:5000
Access 127.0.0.1:5000/genScreenshot
No response
Logs
System Info
Severity
Blocking usage of gradio