Repository navigation
Expand file tree
/
Copy path__init__.py
More file actions
54 lines (52 loc) · 2.34 KB
/
Copy path__init__.py
File metadata and controls
54 lines (52 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
"""Optional ComfyUI custom-node entry point; the engine also runs standalone."""
WEB_DIRECTORY = './web'
async def comfy_entrypoint():
from .freevideo_engine.comfy_progress import register as progress_routes
progress_routes()
try:
from .freevideo_engine.comfy_chain import register as chain_routes
chain_routes()
except Exception as error:
import logging
logging.warning('[FreeVideo] Chain routes not registered: %s', error)
from .freevideo_engine.comfy_upload import register
register()
from .freevideo_engine.comfy_setup import register as setup_routes
setup_routes()
from .freevideo_engine.prompt_vlm.service import register as prompt_routes
prompt_routes()
try:
from .freevideo_engine.image_gen.service import register as image_routes
image_routes()
except Exception as error:
import logging
logging.warning('[FreeVideo] Image generation routes not registered: %s', error)
from .freevideo_engine.comfy_launcher_api import register as launcher_routes
launcher_routes()
from .freevideo_engine.comfy_updates import register as update_routes
update_routes()
from .freevideo_engine.comfy_library import register as library_routes
library_routes()
from .freevideo_engine.comfy_editor import register as editor_routes
editor_routes()
from .freevideo_engine.editor_export import register as editor_export_routes
editor_export_routes()
from .freevideo_engine.comfy_capabilities import register as capabilities_routes
capabilities_routes()
from .freevideo_engine.subtitle_ears import register as subtitle_ears_routes
subtitle_ears_routes()
from .freevideo_engine.subtitle_files import register as subtitle_file_routes
subtitle_file_routes()
from .freevideo_engine.comfy_share import register as share_routes
share_routes()
from .freevideo_engine.comfy_metadata import register as workflow_backfill
workflow_backfill()
try:
from .freevideo_engine.agent.routes import register as agent_routes
agent_routes()
except Exception as error:
import logging
logging.warning('[FreeVideo] Agent routes not registered: %s', error)
from .freevideo_engine.comfy_nodes import FreeVideoExtension, register_prompt_cleanup
register_prompt_cleanup()
return FreeVideoExtension()