Files
diodiogod 40f0e873be Integrate Voice Fixer audio restoration (Issue #153)
- Bundle VoiceFixer locally to avoid cache downloads
- Create voice_fixer_downloader for TTS/voicefixer/ model management
- Implement Voice Fixer node with 3 restoration modes (original, high-freq removal, train mode)
- Register node in nodes.py with proper error handling
- Patch bundled VoiceFixer hardcoded paths to use TTS/voicefixer/ directory
- Disable auto-download in restorer/__init__.py, handled by node instead
- Support lazy loading and CUDA acceleration
- All models download to organized TTS/ folder, never to cache
2025-10-29 14:15:52 -03:00

14 lines
284 B
Python

import os
def find_and_build(root, path):
path = os.path.join(root, path)
if not os.path.exists(path):
os.makedirs(path, exist_ok=True)
return path
def root_path(repo_name="voicefixer"):
path = os.path.abspath(__file__)
return path.split(repo_name)[0]