Auto-install bin/voice_tool.py into working workspace directory
This commit is contained in:
+4
-4
@@ -4,10 +4,10 @@
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
# Add project root to sys.path
|
||||
here = Path(__file__).parent.parent
|
||||
if str(here) not in sys.path:
|
||||
sys.path.insert(0, str(here))
|
||||
# Add VoiceAgent1 project root to sys.path
|
||||
project_root = Path("/Users/adolforeyna/Projects/VoiceAgent1")
|
||||
if str(project_root) not in sys.path:
|
||||
sys.path.insert(0, str(project_root))
|
||||
|
||||
from voice_manager import KOKORO_VOICES, MACOS_VOICES, VoiceManager
|
||||
|
||||
|
||||
Reference in New Issue
Block a user