bizyengine 1.2.43__py3-none-any.whl → 1.2.45__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bizyengine/bizy_server/api_client.py +3 -0
- bizyengine/bizy_server/server.py +18 -2
- bizyengine/misc/utils.py +1 -1
- bizyengine/version.txt +1 -1
- {bizyengine-1.2.43.dist-info → bizyengine-1.2.45.dist-info}/METADATA +1 -1
- {bizyengine-1.2.43.dist-info → bizyengine-1.2.45.dist-info}/RECORD +8 -8
- {bizyengine-1.2.43.dist-info → bizyengine-1.2.45.dist-info}/WHEEL +0 -0
- {bizyengine-1.2.43.dist-info → bizyengine-1.2.45.dist-info}/top_level.txt +0 -0
|
@@ -258,6 +258,7 @@ class APIClient:
|
|
|
258
258
|
model_types: list[str] = None,
|
|
259
259
|
base_models: list[str] = None,
|
|
260
260
|
sort: str = None,
|
|
261
|
+
has_draft: bool = None,
|
|
261
262
|
request_api_key: str = None,
|
|
262
263
|
) -> tuple[dict | None, ErrorNo | None]:
|
|
263
264
|
server_url = f"{BIZYAIR_X_SERVER}/bizy_models/community"
|
|
@@ -270,6 +271,8 @@ class APIClient:
|
|
|
270
271
|
params["base_models"] = base_models
|
|
271
272
|
if sort:
|
|
272
273
|
params["sort"] = sort
|
|
274
|
+
if has_draft is not None:
|
|
275
|
+
params["has_draft"] = has_draft
|
|
273
276
|
|
|
274
277
|
headers, err = self.auth_header(api_key=request_api_key)
|
|
275
278
|
if err is not None:
|
bizyengine/bizy_server/server.py
CHANGED
|
@@ -4,6 +4,7 @@ import json
|
|
|
4
4
|
import logging
|
|
5
5
|
import os
|
|
6
6
|
import random
|
|
7
|
+
import re
|
|
7
8
|
import shutil
|
|
8
9
|
import threading
|
|
9
10
|
import time
|
|
@@ -175,6 +176,10 @@ class BizyAirServer:
|
|
|
175
176
|
model_types = json_data.get("model_types", [])
|
|
176
177
|
base_models = json_data.get("base_models", [])
|
|
177
178
|
sort = json_data.get("sort", "")
|
|
179
|
+
has_draft = json_data.get("has_draft", None)
|
|
180
|
+
if has_draft is not None:
|
|
181
|
+
has_draft = bool(has_draft)
|
|
182
|
+
|
|
178
183
|
resp, err = None, None
|
|
179
184
|
|
|
180
185
|
request_api_key, err = _get_request_api_key(request.headers)
|
|
@@ -201,6 +206,7 @@ class BizyAirServer:
|
|
|
201
206
|
model_types=model_types,
|
|
202
207
|
base_models=base_models,
|
|
203
208
|
sort=sort,
|
|
209
|
+
has_draft=has_draft,
|
|
204
210
|
request_api_key=request_api_key,
|
|
205
211
|
)
|
|
206
212
|
elif mode == "official":
|
|
@@ -760,7 +766,13 @@ class BizyAirServer:
|
|
|
760
766
|
all_models = await self.api_client.fetch_all_llm_models(
|
|
761
767
|
request_api_key=request_api_key
|
|
762
768
|
)
|
|
763
|
-
llm_models = [
|
|
769
|
+
llm_models = [
|
|
770
|
+
model
|
|
771
|
+
for model in all_models
|
|
772
|
+
if not (
|
|
773
|
+
re.search(r"\d+(\.\d+)?v", model.lower()) or "vl" in model.lower()
|
|
774
|
+
)
|
|
775
|
+
]
|
|
764
776
|
llm_models.append("No LLM Enhancement")
|
|
765
777
|
return aiohttp.web.json_response(llm_models)
|
|
766
778
|
|
|
@@ -773,7 +785,11 @@ class BizyAirServer:
|
|
|
773
785
|
all_models = await self.api_client.fetch_all_llm_models(
|
|
774
786
|
request_api_key=request_api_key
|
|
775
787
|
)
|
|
776
|
-
vlm_models = [
|
|
788
|
+
vlm_models = [
|
|
789
|
+
model
|
|
790
|
+
for model in all_models
|
|
791
|
+
if re.search(r"\d+(\.\d+)?v", model.lower()) or "vl" in model.lower()
|
|
792
|
+
]
|
|
777
793
|
vlm_models.append("No VLM Enhancement")
|
|
778
794
|
return aiohttp.web.json_response(vlm_models)
|
|
779
795
|
|
bizyengine/misc/utils.py
CHANGED
bizyengine/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.45
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bizyengine
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.45
|
|
4
4
|
Summary: [a/BizyAir](https://github.com/siliconflow/BizyAir) Comfy Nodes that can run in any environment.
|
|
5
5
|
Author-email: SiliconFlow <yaochi@siliconflow.cn>
|
|
6
6
|
Project-URL: Repository, https://github.com/siliconflow/BizyAir
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
bizyengine/__init__.py,sha256=GP9V-JM07fz7uv_qTB43QEA2rKdrVJxi5I7LRnn_3ZQ,914
|
|
2
|
-
bizyengine/version.txt,sha256=
|
|
2
|
+
bizyengine/version.txt,sha256=8kXgez0b1dAhIv4WEL8cE4ACDp44DIXKSzPEvWD0oAg,7
|
|
3
3
|
bizyengine/bizy_server/__init__.py,sha256=SP9oSblnPo4KQyh7yOGD26YCskFAcQHAZy04nQBNRIw,200
|
|
4
|
-
bizyengine/bizy_server/api_client.py,sha256=
|
|
4
|
+
bizyengine/bizy_server/api_client.py,sha256=Z7G5IjaEqSJkF6nLLw2R3bpgBAOi5ClQiUbel6NMXmE,43932
|
|
5
5
|
bizyengine/bizy_server/errno.py,sha256=1UiFmE2U7r7hCHgsw4-p_YL0VCmTJc9NyYDEbhkanaY,16336
|
|
6
6
|
bizyengine/bizy_server/error_handler.py,sha256=MGrfO1AEqbfEgMWPL8B6Ypew_zHiQAdYGlhN9bZohrY,167
|
|
7
7
|
bizyengine/bizy_server/execution.py,sha256=ayaEf6eGJKQsVZV-1_UlGlvwwmlH7FEek31Uq-MbUjA,1644
|
|
8
8
|
bizyengine/bizy_server/profile.py,sha256=f4juAzJ73gCm0AhagYpt9WnG8HEI6xze_U96-omBLqU,3044
|
|
9
9
|
bizyengine/bizy_server/resp.py,sha256=iOFT5Ud7VJBP2uqkojJIgc3y2ifMjjEXoj0ewneL9lc,710
|
|
10
|
-
bizyengine/bizy_server/server.py,sha256=
|
|
10
|
+
bizyengine/bizy_server/server.py,sha256=4b50TnW4ZSp9rlqhopO6pbqr5Nr0RvLfv3TQmPGMWqA,59062
|
|
11
11
|
bizyengine/bizy_server/stream_response.py,sha256=H2XHqlVRtQMhgdztAuG7l8-iV_Pm42u2x6WJ0gNVIW0,9654
|
|
12
12
|
bizyengine/bizy_server/utils.py,sha256=Kkn-AATZcdaDhg8Rg_EJW6aKqkyiSE2EYmuyOhUwXso,3863
|
|
13
13
|
bizyengine/bizyair_extras/__init__.py,sha256=zzqOeOnd6uyyopeNFPa7asfG-sI4r3SSrKJkHGF4iGI,1064
|
|
@@ -78,8 +78,8 @@ bizyengine/misc/nodes_controlnet_union_sdxl.py,sha256=fYyu_XMY7mcX1Ad9x30q1tYB8m
|
|
|
78
78
|
bizyengine/misc/route_sam.py,sha256=-bMIR2QalfnszipGxSxvDAHGJa5gPSrjkYPb5baaRg4,1561
|
|
79
79
|
bizyengine/misc/segment_anything.py,sha256=wNKYwlYPMszfwj23524geFZJjZaG4eye65SGaUnh77I,8941
|
|
80
80
|
bizyengine/misc/supernode.py,sha256=STN9gaxfTSErH8OiHeZa47d8z-G9S0I7fXuJvHQOBFM,4532
|
|
81
|
-
bizyengine/misc/utils.py,sha256=
|
|
82
|
-
bizyengine-1.2.
|
|
83
|
-
bizyengine-1.2.
|
|
84
|
-
bizyengine-1.2.
|
|
85
|
-
bizyengine-1.2.
|
|
81
|
+
bizyengine/misc/utils.py,sha256=CKduySGSMNGlJMImHyZmN-giABY5VUaB88f6Kq-HAV0,6831
|
|
82
|
+
bizyengine-1.2.45.dist-info/METADATA,sha256=UodDBNwC4vmRZvkTbFi9aBevOnjfUZx1WzxaYnBimG0,675
|
|
83
|
+
bizyengine-1.2.45.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
84
|
+
bizyengine-1.2.45.dist-info/top_level.txt,sha256=2zapzqxX-we5cRyJkGf9bd5JinRtXp3-_uDI-xCAnc0,11
|
|
85
|
+
bizyengine-1.2.45.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|