Skip to content
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

feat: --host argument to choose any remote or local host #30

Closed
cutecutecat opened this issue Jun 2, 2023 · 0 comments
Closed

feat: --host argument to choose any remote or local host #30

cutecutecat opened this issue Jun 2, 2023 · 0 comments

Comments

@cutecutecat
Copy link
Member

cutecutecat commented Jun 2, 2023

inf_parser.add_argument(
        "--host", help="host", default="https://{}.modelz.io/"
    )

client = ModelzClient(key=key, deployment=deployment, host=host)

The value could be one of:

  • https://{}.xxx.yyy/ for formatting Deployment Key
  • http://127.0.0.1:8000/ for no Deployment Key

Or maybe an environment variable MODELZ_API_HOST could be implemented?

@cutecutecat cutecutecat changed the title feat: --host argument to choose dev remote or local host feat: --host argument to choose any remote or local host Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant