refactor: rename backend/frontend dirs and remove NovelWriter submodule

- Rename qwen3-tts-backend → canto-backend
- Rename qwen3-tts-frontend → canto-frontend
- Remove NovelWriter embedded repo

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-07 18:03:29 +08:00
parent 777a7ec006
commit 2fa9c1fcb6
346 changed files with 548 additions and 585 deletions

View File

@@ -0,0 +1,26 @@
SECRET_KEY=your-secret-key-change-this-in-production
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
DATABASE_URL=sqlite:///./qwen_tts.db
CACHE_DIR=./voice_cache
OUTPUT_DIR=./outputs
MODEL_DEVICE=cuda:0
MODEL_BASE_PATH=./Qwen
MAX_CACHE_ENTRIES=100
CACHE_TTL_DAYS=7
HOST=0.0.0.0
PORT=8000
WORKERS=1
LOG_LEVEL=info
LOG_FILE=./app.log
RATE_LIMIT_PER_MINUTE=50
RATE_LIMIT_PER_HOUR=1000
MAX_QUEUE_SIZE=100
BATCH_SIZE=4
BATCH_WAIT_TIME=0.5
MAX_TEXT_LENGTH=1000
MAX_AUDIO_SIZE_MB=10
ALIYUN_REGION=beijing
DEFAULT_BACKEND=local