New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gunicorn + argparse not work #2125
Comments
Can you show how you are creating your application and parsing the CLI with Gunicorn calls https://docs.python.org/3/library/argparse.html#the-parse-args-method |
Thanks for your reply, I found if I use argparse module in my APP like |
Can the issue be closed, then? Do you need help to parse your own command line switches and the gunicorn switches together? |
Thanks again! |
I have a question How do I pass the env parameter through?
part of the code
|
I try to depoly my pytorch model with argparse module.
It seems that the argparse module declared in the app will replace the arguments of gunicorn.
And I have encountered such a problem like this:
The hints in the above section are the model parameters in the app.
Thanks~
The text was updated successfully, but these errors were encountered: