mirror of
https://github.com/hanzoskill/pocket-tts.git
synced 2026-10-30 21:06:53 +00:00
29 lines
662 B
Bash
29 lines
662 B
Bash
#!/bin/bash
|
|
# Quick test script for Pocket TTS skill
|
|
|
|
echo "๐งช Testing Pocket TTS installation..."
|
|
|
|
# Check if package is installed
|
|
if ! python -c "import pocket_tts" 2>/dev/null; then
|
|
echo "โ pocket-tts not installed"
|
|
echo "Run: pip install pocket-tts"
|
|
exit 1
|
|
fi
|
|
|
|
echo "โ
pocket-tts package installed"
|
|
|
|
# Test basic import
|
|
python -c "
|
|
from pocket_tts import TTSModel
|
|
print('โ
TTSModel imported successfully')
|
|
"
|
|
|
|
echo ""
|
|
echo "๐ Skill files created:"
|
|
ls -la /home/bot/bot/skills/pocket-tts/
|
|
|
|
echo ""
|
|
echo "๐ก Usage:"
|
|
echo " pocket-tts \"Hello world\" --output test.wav"
|
|
echo " python /home/bot/bot/skills/pocket-tts/cli.py \"Test\""
|