Free, open-source AI video generator for Mac. Run LTX-2.5 and MiniMax H3 (Hailuo) locally on Apple Silicon: text-to-video and image-to-video with sound, lip-sync, character LoRA training, songs from lyrics (YuE2) and image editing (Qwen-Image-Edit). One-click install via Pinokio. Offline: no cloud, no API key, no NVIDIA GPU.
Python ai-filmmakingai-videoai-video-generatorapple-siliconhailuoimage-to-videolip-synclocal-ailora-trainingltx-2ltx-2-5ltx-videomacosminimax-h3mlxmusic-generationoffline-aipinokiotext-to-videovideo-generation
fix(output): /output/delete crashed with UnboundLocalError on every call
mrbizarroc60726a0900b
diff --git a/mlx_ltx_panel.py b/mlx_ltx_panel.pyindex 4a8673b..15a2e3a 100644--- a/mlx_ltx_panel.py+++ b/mlx_ltx_panel.py@@ -10406,7 +10406,13 @@ class Handler(BaseHTTPRequestHandler):# per-character subdirectories.if char_cache.is_dir() and char_cache.is_relative_to(_CHARACTERS_CACHE_PATH.resolve()):try:- import shutil+ # NOTE: shutil is imported at module level (line 25).+ # Do NOT add a local `import shutil` here — Python+ # scans the whole function and would mark `shutil`+ # as a local across all of do_POST, which made the+ # /output/delete handler ~30 lines up raise+ # UnboundLocalError on every call. Module-level+ # shutil is sufficient for shutil.rmtree below.shutil.rmtree(char_cache)removed.append(str(char_cache))except OSError as e: