You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
386 B
13 lines
386 B
import os
|
|
|
|
# Global variables
|
|
REPO_URL = "https://github.com/ultralytics/yolov5.git"
|
|
REPO_BRANCH = "ultralytics/HUB" # "master"
|
|
|
|
ENVIRONMENT = os.environ.get("ULTRALYTICS_ENV", "production")
|
|
if ENVIRONMENT == 'production':
|
|
HUB_API_ROOT = "https://api.ultralytics.com"
|
|
else:
|
|
HUB_API_ROOT = "http://127.0.0.1:8000"
|
|
print(f'Connected to development server on {HUB_API_ROOT}')
|