bizyengine 1.2.11__py3-none-any.whl → 1.2.13__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.
@@ -51,6 +51,9 @@ class BizyAirServer:
51
51
 
52
52
  def setup_routes(self):
53
53
  # 以下路径不论本地模式还是服务器模式都要注册
54
+ @self.prompt_server.routes.get(f"/{API_PREFIX}/server_mode")
55
+ async def get_server_mode(request):
56
+ return OKResponse({"server_mode": BIZYAIR_SERVER_MODE})
54
57
 
55
58
  @self.prompt_server.routes.get(f"/{COMMUNITY_API}/model_types")
56
59
  async def list_model_types(request):
bizyengine/misc/llm.py CHANGED
@@ -318,7 +318,7 @@ class BizyAirJoyCaption2(BizyAirMiscBaseNode):
318
318
 
319
319
  CATEGORY = "☁️BizyAir/AI Assistants"
320
320
 
321
- def resize_if_large(self, image, max_size=384):
321
+ def resize_if_large(self, image, max_size=2048):
322
322
  import torch.nn.functional as F
323
323
 
324
324
  _, h, w, _ = image.shape
bizyengine/version.txt CHANGED
@@ -1 +1 @@
1
- 1.2.11
1
+ 1.2.13
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bizyengine
3
- Version: 1.2.11
3
+ Version: 1.2.13
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=NzEMfzSBZRIsy59KhUwpSFOVuzrwZZulp3vgZsFRFnk,7
2
+ bizyengine/version.txt,sha256=whaYM0seIwi4VWrB0QQCNCuNPoN_ZfocQx6yM5KCSx0,7
3
3
  bizyengine/bizy_server/__init__.py,sha256=SP9oSblnPo4KQyh7yOGD26YCskFAcQHAZy04nQBNRIw,200
4
4
  bizyengine/bizy_server/api_client.py,sha256=F2kSe5FVQz5b47-QzSH5kB9S-wP921MPWrtVbbQ3nEY,43623
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=Oyxkd5BBfBJZT4CUb1jn7VAf_XfJkFRS6w1lipK2wFQ,51408
10
+ bizyengine/bizy_server/server.py,sha256=vlcOyK4pNGuGDdXfbAkOQR6YapCXm-lGO3pU0j6eQS8,51589
11
11
  bizyengine/bizy_server/stream_response.py,sha256=H2XHqlVRtQMhgdztAuG7l8-iV_Pm42u2x6WJ0gNVIW0,9654
12
12
  bizyengine/bizy_server/utils.py,sha256=C5tnMhvdtrrvwuCex3oERIGWrTWVb5dkXD1Txb5sJaE,2568
13
13
  bizyengine/bizyair_extras/__init__.py,sha256=oaKC7QzFbgJ_BWuc3o05gmIq-8ZhUB7VEzYXnlWjGv8,951
@@ -66,7 +66,7 @@ bizyengine/core/path_utils/path_manager.py,sha256=tRVAcpsYvfWD-tK7khLvNCZayB0wpU
66
66
  bizyengine/core/path_utils/utils.py,sha256=SY5TDoOV5Sr_n3Ez2xbcMRsll1A1J7hPZ8Zn4tpjF3c,2393
67
67
  bizyengine/misc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
68
  bizyengine/misc/auth.py,sha256=V7VoHZ9-ljT_gUUOOh7AeNnAyVuyiK8fiqSM8T8k948,2671
69
- bizyengine/misc/llm.py,sha256=4fCMj5rxrjQ12Hyb5-JNHQHnugNdHoYZB2_9x8um8Lw,13526
69
+ bizyengine/misc/llm.py,sha256=3k7QlDNtfeovlDId4OZi6Wx3kgpUARAGl7ehnT5ICLs,13527
70
70
  bizyengine/misc/mzkolors.py,sha256=mWQh2XDdRza1iNacGZ3YApqbs5RHrW0nDIPGN1ZfC8g,2826
71
71
  bizyengine/misc/nodes.py,sha256=HhLfYc_8Z7akcmtrvOviYdZ_GG5KhF5eoSjCzMK4pq4,43654
72
72
  bizyengine/misc/nodes_controlnet_aux.py,sha256=Tza7XgStfmTm29bVl7qupE--ELTDfk8JaGFb93DxL_Q,16398
@@ -75,7 +75,7 @@ bizyengine/misc/route_sam.py,sha256=-bMIR2QalfnszipGxSxvDAHGJa5gPSrjkYPb5baaRg4,
75
75
  bizyengine/misc/segment_anything.py,sha256=m-G0PsuP6IgpdUzhEqiqzPg1_svMVH5MTivOsoVR1-Y,8940
76
76
  bizyengine/misc/supernode.py,sha256=ox1_ufOFbm4zlpPQD8TGd0JKv94vsscu1cCJOdbaZPY,4531
77
77
  bizyengine/misc/utils.py,sha256=SkU_qHU3n3dnzq68mdg_E8380ivRDVZwIb4UgnakhMM,6828
78
- bizyengine-1.2.11.dist-info/METADATA,sha256=JBQQgsJaoiTpf6L_zWoxjubKBm1APGJ3uSibg-rkkRI,4210
79
- bizyengine-1.2.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
80
- bizyengine-1.2.11.dist-info/top_level.txt,sha256=2zapzqxX-we5cRyJkGf9bd5JinRtXp3-_uDI-xCAnc0,11
81
- bizyengine-1.2.11.dist-info/RECORD,,
78
+ bizyengine-1.2.13.dist-info/METADATA,sha256=hx18_hwMbAqpECZdA13zMBfJGA-t-b1yWSDvOimUnGo,4210
79
+ bizyengine-1.2.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
80
+ bizyengine-1.2.13.dist-info/top_level.txt,sha256=2zapzqxX-we5cRyJkGf9bd5JinRtXp3-_uDI-xCAnc0,11
81
+ bizyengine-1.2.13.dist-info/RECORD,,