- Add AIIA_ASR node with FunASR (paraformer-zh + SenseVoiceSmall) - Add AIIA_Podcast_Splitter for per-speaker text splitting - Add AIIA_Podcast_Stitcher with 3-tier fuzzy alignment (exact, Levenshtein, fallback) - Register 5 previously missing modules in __init__.py - Update README with installation guide and node documentation
24 lines
662 B
Python
24 lines
662 B
Python
|
|
import inspect
|
|
import sys
|
|
import torch
|
|
|
|
try:
|
|
from resemble_enhance.enhancer.enhancer import Enhancer
|
|
print("=== Source of Enhancer.forward ===")
|
|
print(inspect.getsource(Enhancer.forward))
|
|
|
|
print("\n=== Source of Enhancer (init to check modules) ===")
|
|
# Print first 50 lines of Init to see components
|
|
lines = inspect.getsource(Enhancer.__init__).split('\n')
|
|
for line in lines[:50]:
|
|
print(line)
|
|
|
|
except ImportError:
|
|
print("Could not import Enhancer. Trying to locate file...")
|
|
import resemble_enhance
|
|
print(f"Resemble Enhance path: {resemble_enhance.__file__}")
|
|
|
|
except Exception as e:
|
|
print(f"Error: {e}")
|