Skip to content

Commit 01672f1

Browse files
authored
Merge branch 'master' into add_rf_inversion
2 parents 11ec378 + 5685182 commit 01672f1

6 files changed

Lines changed: 12 additions & 8 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
types: [python]
1515
- id: flake8-code-check
1616
name: Code Quality Check
17-
entry: python3 -m flake8 .
17+
entry: python3 -m flake8 --ignore=F824 --show-source .
1818
language: system
1919
types: [python]
2020

backend/bizyengine/core/common/env_var.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def create_api_key_file(api_key):
8888
# uat:
8989
# service_address: https://uat-bizyair-api.siliconflow.cn/x/v1
9090
_BIZYAIR_SERVER_ADDRESS = os.getenv(
91-
"BIZYAIR_SERVER_ADDRESS", "https://bizyair-api.siliconflow.cn/x/v1"
91+
"BIZYAIR_SERVER_ADDRESS", "https://bizyair-api-st.siliconflow.cn/x/v1"
9292
)
9393
BIZYAIR_SERVER_ADDRESS = ServerAddress(_BIZYAIR_SERVER_ADDRESS)
9494
BIZYAIR_API_KEY = env("BIZYAIR_API_KEY", str, load_api_key()[1])

backend/bizyengine/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.2
1+
1.1.5

prestartup_script.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def get_pip_mirror_url():
8080
def get_latest_stable_version_from_pip(pip_url, package_name) -> Version:
8181
import requests
8282

83-
pkg_url = f"{pip_url}/{package_name}"
83+
pkg_url = f"{pip_url.rstrip('/')}/{package_name}"
8484
response = requests.get(pkg_url)
8585
response.raise_for_status()
8686
html_content = response.text
@@ -140,7 +140,9 @@ def install_dependencies():
140140
]
141141

142142
installed_packages = {
143-
dist.metadata["Name"]: Version(dist.version) for dist in distributions()
143+
dist.metadata["Name"]: Version(dist.version)
144+
for dist in distributions()
145+
if dist.version is not None
144146
}
145147

146148
for package in required_packages:
@@ -230,7 +232,9 @@ def _update_package_when_needed(package_name):
230232
print(f"Error happens when update {package_name} packages: {str(e)}")
231233

232234
installed_packages = {
233-
dist.metadata["Name"]: Version(dist.version) for dist in distributions()
235+
dist.metadata["Name"]: Version(dist.version)
236+
for dist in distributions()
237+
if dist.version is not None
234238
}
235239
print(
236240
f"\033[92m[BizyAir]\033[0m Checkout updating, current pip url {mirror_pip_url}"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "bizyair"
33
description = "[a/BizyAir](https://github.com/siliconflow/BizyAir) Comfy Nodes that can run in any environment."
44
license = { file = "LICENSE" }
5-
version = "1.1.0"
5+
version = "1.1.5"
66

77
[project.urls]
88
Repository = "https://github.com/siliconflow/BizyAir"

tests/test_official_workflows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from selenium.webdriver.support.ui import WebDriverWait
1616

1717
BIZYAIR_SERVER_ADDRESS = os.getenv(
18-
"BIZYAIR_SERVER_ADDRESS", "https://bizyair-api.siliconflow.cn/x/v1"
18+
"BIZYAIR_SERVER_ADDRESS", "https://bizyair-api-st.siliconflow.cn/x/v1"
1919
)
2020
BIZYAIR_KEY = os.getenv("BIZYAIR_KEY", "")
2121
COMFY_HOST = os.getenv("COMFY_HOST", "127.0.0.1")

0 commit comments

Comments
 (0)