Move image back to frontend

This commit is contained in:
benceruleanlu 2025-05-17 22:55:31 -04:00
parent a8c6f8d2b2
commit e196abdf05
3 changed files with 1 additions and 4 deletions

View File

@ -218,7 +218,7 @@ class FluxProUltraImageNode(ComfyNodeABC):
RETURN_TYPES = (IO.IMAGE,) RETURN_TYPES = (IO.IMAGE,)
DESCRIPTION = cleandoc(__doc__ or "") # Handle potential None value DESCRIPTION = cleandoc(__doc__ or "") # Handle potential None value
HELP = cleandoc(r''' HELP = cleandoc(r'''
![ComfyUI Native Flux 1.1 [pro] Ultra Image node](docs/assets/flux-1-1-pro-ultra-image.jpg) ![ComfyUI Native Flux 1.1 [pro] Ultra Image node](assets/docs/flux-1-1-pro-ultra-image.jpg)
The Flux 1.1 [pro] Ultra Image node allows you to generate ultra-high-resolution images through text prompts, directly connecting to Black Forest Labs' latest image generation API. The Flux 1.1 [pro] Ultra Image node allows you to generate ultra-high-resolution images through text prompts, directly connecting to Black Forest Labs' latest image generation API.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

View File

@ -749,9 +749,6 @@ class PromptServer():
web.static('/templates', workflow_templates_path) web.static('/templates', workflow_templates_path)
]) ])
# Serve node docs assets from backend
docs_assets_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 'docs', 'assets'))
self.app.add_routes([web.static('/docs/assets', docs_assets_path)])
self.app.add_routes([ self.app.add_routes([
web.static('/', self.web_root), web.static('/', self.web_root),
]) ])