webtools-cli 1.3.4__tar.gz → 1.3.5__tar.gz
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.
- {webtools_cli-1.3.4/webtools_cli.egg-info → webtools_cli-1.3.5}/PKG-INFO +1 -1
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/pyproject.toml +1 -1
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/webtools/core.py +16 -14
- {webtools_cli-1.3.4 → webtools_cli-1.3.5/webtools_cli.egg-info}/PKG-INFO +1 -1
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/ComfyUI/comfyUI.py +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/ComfyUI/comfyu.py +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/ComfyUI/ui.py +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/LICENSE +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/README.md +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/setup.cfg +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/webtools/__init__.py +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/webtools/__main__.py +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/webtools/cli.py +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/webtools/install.py +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/webtools/mega_client.py +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/webtools/web/index.html +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/webtools/web/script.js +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/webtools/web/style.css +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/webtools_cli.egg-info/SOURCES.txt +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/webtools_cli.egg-info/dependency_links.txt +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/webtools_cli.egg-info/entry_points.txt +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/webtools_cli.egg-info/requires.txt +0 -0
- {webtools_cli-1.3.4 → webtools_cli-1.3.5}/webtools_cli.egg-info/top_level.txt +0 -0
|
@@ -3528,12 +3528,18 @@ def run_comfyui_mode():
|
|
|
3528
3528
|
input("\nPress Enter to return to main menu...")
|
|
3529
3529
|
return
|
|
3530
3530
|
|
|
3531
|
-
|
|
3532
|
-
if not
|
|
3533
|
-
print(f"\n{Fore.RED}❌ ERROR: ComfyUI
|
|
3531
|
+
script_dir = find_comfy_dir()
|
|
3532
|
+
if not script_dir:
|
|
3533
|
+
print(f"\n{Fore.RED}❌ ERROR: ComfyUI scripts not found!{Style.RESET_ALL}")
|
|
3534
3534
|
input("\nPress Enter to return to main menu...")
|
|
3535
3535
|
return
|
|
3536
3536
|
|
|
3537
|
+
# Define the actual ComfyUI repository workspace
|
|
3538
|
+
if on_colab:
|
|
3539
|
+
workspace = "/content/ComfyUI"
|
|
3540
|
+
else:
|
|
3541
|
+
workspace = os.path.join(script_dir, "ComfyUI_repo")
|
|
3542
|
+
|
|
3537
3543
|
while True:
|
|
3538
3544
|
os.system('cls' if os.name == 'nt' else 'clear')
|
|
3539
3545
|
print(f"\n{Fore.CYAN}--- ComfyUI Launcher ---{Style.RESET_ALL}")
|
|
@@ -3557,15 +3563,14 @@ def run_comfyui_mode():
|
|
|
3557
3563
|
print(f"\n{Fore.GREEN}🚀 Starting ComfyUI Setup & Session...{Style.RESET_ALL}")
|
|
3558
3564
|
|
|
3559
3565
|
# 0. Run System Initialization (comfyUI.py)
|
|
3560
|
-
|
|
3561
|
-
init_script = os.path.join(comfy_dir, "comfyUI.py")
|
|
3566
|
+
init_script = os.path.join(script_dir, "comfyUI.py")
|
|
3562
3567
|
if os.path.exists(init_script):
|
|
3563
3568
|
print(f"\n{Fore.CYAN}--- Running System Initialization ---{Style.RESET_ALL}")
|
|
3564
3569
|
init_env = os.environ.copy()
|
|
3565
|
-
init_env["COMFYUI_WORKSPACE"] =
|
|
3570
|
+
init_env["COMFYUI_WORKSPACE"] = workspace
|
|
3566
3571
|
subprocess.run([sys.executable, init_script], env=init_env)
|
|
3567
3572
|
else:
|
|
3568
|
-
print(f"{Fore.YELLOW}Warning: {init_script} not found.
|
|
3573
|
+
print(f"{Fore.YELLOW}Warning: {init_script} not found.{Style.RESET_ALL}")
|
|
3569
3574
|
|
|
3570
3575
|
# 1. Handle Model Downloads if Anime chosen
|
|
3571
3576
|
if cui_choice == '2':
|
|
@@ -3574,22 +3579,19 @@ def run_comfyui_mode():
|
|
|
3574
3579
|
download_env["UNET_DIFFUSION_URLS"] = "https://huggingface.co/circlestone-labs/Anima/resolve/main/split_files/diffusion_models/anima-preview3-base.safetensors"
|
|
3575
3580
|
download_env["TEXT_ENCODER_URLS"] = "https://huggingface.co/circlestone-labs/Anima/resolve/main/split_files/text_encoders/qwen_3_06b_base.safetensors"
|
|
3576
3581
|
download_env["VAE_URLS"] = "https://huggingface.co/circlestone-labs/Anima/resolve/main/split_files/vae/qwen_image_vae.safetensors"
|
|
3577
|
-
download_env["COMFYUI_WORKSPACE"] =
|
|
3582
|
+
download_env["COMFYUI_WORKSPACE"] = workspace
|
|
3578
3583
|
|
|
3579
|
-
|
|
3580
|
-
downloader_script = os.path.join(comfy_dir, "comfyu.py")
|
|
3584
|
+
downloader_script = os.path.join(script_dir, "comfyu.py")
|
|
3581
3585
|
if os.path.exists(downloader_script):
|
|
3582
3586
|
subprocess.run([sys.executable, downloader_script], env=download_env)
|
|
3583
|
-
else:
|
|
3584
|
-
print(f"{Fore.RED}Error: {downloader_script} not found.{Style.RESET_ALL}")
|
|
3585
3587
|
|
|
3586
3588
|
# 2. Launch UI
|
|
3587
|
-
ui_script = os.path.join(
|
|
3589
|
+
ui_script = os.path.join(script_dir, "ui.py")
|
|
3588
3590
|
if os.path.exists(ui_script):
|
|
3589
3591
|
print(f"\n{Fore.CYAN}--- Initializing ComfyUI Interface ---{Style.RESET_ALL}")
|
|
3590
3592
|
try:
|
|
3591
3593
|
ui_env = os.environ.copy()
|
|
3592
|
-
ui_env["COMFYUI_WORKSPACE"] =
|
|
3594
|
+
ui_env["COMFYUI_WORKSPACE"] = workspace
|
|
3593
3595
|
subprocess.run([sys.executable, ui_script], env=ui_env)
|
|
3594
3596
|
except Exception as e:
|
|
3595
3597
|
print(f"{Fore.RED}Error running ComfyUI: {e}{Style.RESET_ALL}")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|