Spaces:
Configuration error
Configuration error
File size: 614 Bytes
0f32f16 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
#!/bin/bash
set -e
echo "=== Setting up InfiniteTalk ==="
echo "Repository structure:"
ls -la InfiniteTalk/
# Add to Python path
export PYTHONPATH="/home/user/app/InfiniteTalk:$PYTHONPATH"
# Install requirements using pip3
echo "Installing Python requirements..."
pip3 install -r requirements.txt
# Test imports
echo "Testing imports..."
python3 -c "
import sys
sys.path.append('./InfiniteTalk')
try:
from wan.configs import SIZE_CONFIGS, SUPPORTED_SIZES, WAN_CONFIGS
print('✓ SUCCESS: All wan imports work!')
except ImportError as e:
print(f'✗ FAILED: {e}')
"
echo "=== Setup completed ==="
|