Auto-install bin/voice_tool.py into working workspace directory

This commit is contained in:
Adolfo Reyna
2026-08-07 20:18:33 -04:00
parent 351b87beb8
commit 5b1aad3fa3
2 changed files with 20 additions and 4 deletions
+4 -4
View File
@@ -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