This commit is contained in:
beabigegg
2025-11-13 08:18:15 +08:00
parent 788e2409df
commit df5411e44c
38 changed files with 1163 additions and 445 deletions

View File

@@ -1,28 +1,37 @@
# Core Flask and Web Framework
Flask==2.2.5
celery==5.3.6
redis==4.5.4
# For NVIDIA GPU (CUDA 11.8) support, use these lines:
torch --extra-index-url https://download.pytorch.org/whl/cu118
torchaudio --extra-index-url https://download.pytorch.org/whl/cu118
# For CPU-only, comment out the two lines above and uncomment the two lines below:
# torch
# torchaudio
openai-whisper
moviepy
opencc-python-reimplemented
ffmpeg-python
python-dotenv
gunicorn
demucs
soundfile
gevent # Added for celery on windows
python-dotenv
Flask-CORS
# New dependencies for User Management and Database
# Database and Authentication
Flask-SQLAlchemy
Flask-Migrate
PyMySQL
Flask-JWT-Extended
Flask-Bcrypt
ldap3
# Dependency for calling external APIs
# Task Queue and Caching
celery==5.3.6
redis==4.5.4
eventlet # Required for Celery worker monkey patching
gevent # Added for celery on windows
flower==2.0.1 # Celery monitoring (separate package since Celery 5.0)
# Media Processing (Audio/Video)
moviepy
ffmpeg-python
pydub
soundfile
# Text Processing
opencc-python-reimplemented
# External API Communication
requests
# Removed AI packages (now using Dify API):
# torch / torchaudio - Not needed for Dify API
# openai-whisper - Replaced by Dify STT service
# demucs - Audio separation not used