bizyengine 1.2.28__py3-none-any.whl → 1.2.29__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/server.py +22 -0
- bizyengine/core/configs/models.json +1 -1
- bizyengine/core/configs/models.yaml +11 -0
- bizyengine/version.txt +1 -1
- {bizyengine-1.2.28.dist-info → bizyengine-1.2.29.dist-info}/METADATA +1 -1
- {bizyengine-1.2.28.dist-info → bizyengine-1.2.29.dist-info}/RECORD +8 -8
- {bizyengine-1.2.28.dist-info → bizyengine-1.2.29.dist-info}/WHEEL +0 -0
- {bizyengine-1.2.28.dist-info → bizyengine-1.2.29.dist-info}/top_level.txt +0 -0
bizyengine/bizy_server/server.py
CHANGED
|
@@ -64,6 +64,28 @@ class BizyAirServer:
|
|
|
64
64
|
async def get_server_mode(request):
|
|
65
65
|
return OKResponse({"server_mode": BIZYAIR_SERVER_MODE})
|
|
66
66
|
|
|
67
|
+
@self.prompt_server.routes.get(f"/{API_PREFIX}/proxy_view")
|
|
68
|
+
async def proxy_view(request):
|
|
69
|
+
filename = request.rel_url.query.get("filename", "")
|
|
70
|
+
if not filename:
|
|
71
|
+
return aiohttp.web.Response(status=400, text="Missing filename")
|
|
72
|
+
host = request.url.host
|
|
73
|
+
port = request.url.port
|
|
74
|
+
view_url = (
|
|
75
|
+
f"http://{host}:{port}/view?filename={urllib.parse.quote(filename)}"
|
|
76
|
+
)
|
|
77
|
+
async with aiohttp.ClientSession() as session:
|
|
78
|
+
async with session.get(view_url) as resp:
|
|
79
|
+
if resp.status != 200:
|
|
80
|
+
return aiohttp.web.Response(
|
|
81
|
+
status=resp.status, text="Failed to fetch image"
|
|
82
|
+
)
|
|
83
|
+
content = await resp.read()
|
|
84
|
+
content_type = resp.headers.get(
|
|
85
|
+
"Content-Type", "application/octet-stream"
|
|
86
|
+
)
|
|
87
|
+
return aiohttp.web.Response(body=content, content_type=content_type)
|
|
88
|
+
|
|
67
89
|
@self.prompt_server.routes.get(f"/{COMMUNITY_API}/model_types")
|
|
68
90
|
async def list_model_types(request):
|
|
69
91
|
return OKResponse(types())
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
]
|
|
56
56
|
},
|
|
57
57
|
"unet": ["shuttle-3.1-aesthetic.safetensors",
|
|
58
|
-
"flux1-dev-kontext_fp8_scaled.safetensors", {
|
|
58
|
+
"flux1-dev-kontext_fp8_scaled.safetensors", "flux1-dev-kontext-onediff.safetensors", {
|
|
59
59
|
"kolors": [
|
|
60
60
|
"Kolors-Inpainting.safetensors",
|
|
61
61
|
"Kolors.safetensors"
|
|
@@ -51,6 +51,17 @@ model_rules:
|
|
|
51
51
|
unet_name:
|
|
52
52
|
- ^flux1-dev-kontext_fp8_scaled.safetensors$
|
|
53
53
|
|
|
54
|
+
- mode_type: unet
|
|
55
|
+
base_model: FLUX-kontext
|
|
56
|
+
describe: flux1-kontext
|
|
57
|
+
score: 3
|
|
58
|
+
route: /supernode/bizyair-comfyui-flux1-kontext-onediff
|
|
59
|
+
nodes:
|
|
60
|
+
- class_type: UNETLoader
|
|
61
|
+
inputs:
|
|
62
|
+
unet_name:
|
|
63
|
+
- ^flux1-dev-kontext-onediff.safetensors$
|
|
64
|
+
|
|
54
65
|
- mode_type: unet
|
|
55
66
|
base_model: FLUX
|
|
56
67
|
describe: flux1-schnell
|
bizyengine/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.29
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bizyengine
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.29
|
|
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,5 +1,5 @@
|
|
|
1
1
|
bizyengine/__init__.py,sha256=GP9V-JM07fz7uv_qTB43QEA2rKdrVJxi5I7LRnn_3ZQ,914
|
|
2
|
-
bizyengine/version.txt,sha256=
|
|
2
|
+
bizyengine/version.txt,sha256=8UbXkWb3cQmVLROEmDOpmLGeuURRw6434TkE3B5WEfI,6
|
|
3
3
|
bizyengine/bizy_server/__init__.py,sha256=SP9oSblnPo4KQyh7yOGD26YCskFAcQHAZy04nQBNRIw,200
|
|
4
4
|
bizyengine/bizy_server/api_client.py,sha256=t6cwob7hs993oy5WdFcjKtIzfi3S_eUhODdDVv_Hedo,43822
|
|
5
5
|
bizyengine/bizy_server/errno.py,sha256=Q-U96XnZQCuPH_44Om8wnc2-Kh7qFqwLKtox27msU54,16095
|
|
@@ -7,7 +7,7 @@ bizyengine/bizy_server/error_handler.py,sha256=MGrfO1AEqbfEgMWPL8B6Ypew_zHiQAdYG
|
|
|
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=bPJaLX8AoHPq4u-q5nuwf58jezXNQdsHO_wUibi10Ik,54594
|
|
11
11
|
bizyengine/bizy_server/stream_response.py,sha256=H2XHqlVRtQMhgdztAuG7l8-iV_Pm42u2x6WJ0gNVIW0,9654
|
|
12
12
|
bizyengine/bizy_server/utils.py,sha256=CIoRrCy8Wv4D9FDdr_QtNP03AjWw8M6GSm2QcrVJl6Y,3739
|
|
13
13
|
bizyengine/bizyair_extras/__init__.py,sha256=EjyLEdLpPm5I4Z25YmnoK4PYQDmsEyXtCXQt9UDGmi0,1009
|
|
@@ -61,8 +61,8 @@ bizyengine/core/common/client.py,sha256=1Ka8DIjbmD9Gme9c_Q1zwXXueSCP3_OSdEDyGYEo
|
|
|
61
61
|
bizyengine/core/common/env_var.py,sha256=1EAW3gOXY2bKouCqrGa583vTJRdDasQ1IsFTnzDg7Dk,3450
|
|
62
62
|
bizyengine/core/common/utils.py,sha256=bm-XmSPy83AyjD0v5EfWp6jiO6_5p7rkZ_HQAuVmgmo,3086
|
|
63
63
|
bizyengine/core/configs/conf.py,sha256=D_UWG9SSJnK5EhbrfNFryJQ8hUwwdvhOGlq1TielwpI,3830
|
|
64
|
-
bizyengine/core/configs/models.json,sha256=
|
|
65
|
-
bizyengine/core/configs/models.yaml,sha256=
|
|
64
|
+
bizyengine/core/configs/models.json,sha256=NqYVmp-ICpr1vFgafWjJMu5dyuRt9ffVUJmov3_-xRY,2746
|
|
65
|
+
bizyengine/core/configs/models.yaml,sha256=ZsHC2vBS8jfhwgT7NId2G7Hf_iJX3Az7ykbPN3h-1EQ,9648
|
|
66
66
|
bizyengine/core/path_utils/__init__.py,sha256=JVpqNHgaKiEtTI8_r47af8GtWHxrtOockQ6Qpzp9_MQ,260
|
|
67
67
|
bizyengine/core/path_utils/path_manager.py,sha256=tRVAcpsYvfWD-tK7khLvNCZayB0wpU9L0tRTH4ZESzM,10549
|
|
68
68
|
bizyengine/core/path_utils/utils.py,sha256=kQfPQjGU27qF9iyzRxLSRg5cMsd-VixuCUldART7cgY,2394
|
|
@@ -77,7 +77,7 @@ bizyengine/misc/route_sam.py,sha256=-bMIR2QalfnszipGxSxvDAHGJa5gPSrjkYPb5baaRg4,
|
|
|
77
77
|
bizyengine/misc/segment_anything.py,sha256=wNKYwlYPMszfwj23524geFZJjZaG4eye65SGaUnh77I,8941
|
|
78
78
|
bizyengine/misc/supernode.py,sha256=STN9gaxfTSErH8OiHeZa47d8z-G9S0I7fXuJvHQOBFM,4532
|
|
79
79
|
bizyengine/misc/utils.py,sha256=deQjBgLAkxIr-NaOMm77TcgBT3ExAp0MFm5ehUJ3CGs,6829
|
|
80
|
-
bizyengine-1.2.
|
|
81
|
-
bizyengine-1.2.
|
|
82
|
-
bizyengine-1.2.
|
|
83
|
-
bizyengine-1.2.
|
|
80
|
+
bizyengine-1.2.29.dist-info/METADATA,sha256=7ephykrOGACrIgVCPXBXRq1SqHhkGJ7r-HmB7geWUT0,675
|
|
81
|
+
bizyengine-1.2.29.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
82
|
+
bizyengine-1.2.29.dist-info/top_level.txt,sha256=2zapzqxX-we5cRyJkGf9bd5JinRtXp3-_uDI-xCAnc0,11
|
|
83
|
+
bizyengine-1.2.29.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|