Files

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\""