fix: fix github raw endpoint

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
GuoQing Liu 2025-09-11 20:06:34 +08:00 committed by GitHub
parent 9914fd55a7
commit c6b4055804
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,7 @@ class BirdRealTimeProcessor(RealTimeProcessorApi):
self.labelmap: dict[int, str] = {} self.labelmap: dict[int, str] = {}
GITHUB_RAW_ENDPOINT = os.environ.get( GITHUB_RAW_ENDPOINT = os.environ.get(
"GITHUB_RAW_ENDPOINT", "raw.githubusercontent.com" "GITHUB_RAW_ENDPOINT", "https://raw.githubusercontent.com"
) )
download_path = os.path.join(MODEL_CACHE_DIR, "bird") download_path = os.path.join(MODEL_CACHE_DIR, "bird")
self.model_files = { self.model_files = {