Skip to content

Commit

Permalink
Add remote env var
Browse files Browse the repository at this point in the history
  • Loading branch information
gmertes committed Feb 26, 2024
1 parent 061a70c commit 0869080
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ai_models/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ def _main(argv):
help="Enable remote execution, read url and token from ~/.config/ai-models/api.yaml",
action="store_true",
dest="remote_execution",
default=(os.environ.get("AI_MODELS_REMOTE", "0") == "1"),
)

args, unknownargs = parser.parse_known_args(argv)
Expand Down

0 comments on commit 0869080

Please sign in to comment.