fix: Update repository clone URL and adjust huggingface-cli commands in README files
This commit is contained in:
@@ -5,7 +5,7 @@ DATABASE_URL=sqlite:///./qwen_tts.db
|
||||
CACHE_DIR=./voice_cache
|
||||
OUTPUT_DIR=./outputs
|
||||
MODEL_DEVICE=cuda:0
|
||||
MODEL_BASE_PATH=../Qwen
|
||||
MODEL_BASE_PATH=./Qwen
|
||||
MAX_CACHE_ENTRIES=100
|
||||
CACHE_TTL_DAYS=7
|
||||
HOST=0.0.0.0
|
||||
|
||||
@@ -118,14 +118,13 @@ app = FastAPI(
|
||||
app.state.limiter = limiter
|
||||
app.add_exception_handler(RateLimitExceeded, _rate_limit_exceeded_handler)
|
||||
|
||||
if settings.LOG_LEVEL == "debug":
|
||||
app.add_middleware(
|
||||
CORSMiddleware,
|
||||
allow_origins=["http://localhost:5173", "http://127.0.0.1:5173"],
|
||||
allow_credentials=True,
|
||||
allow_methods=["*"],
|
||||
allow_headers=["*"],
|
||||
)
|
||||
app.add_middleware(
|
||||
CORSMiddleware,
|
||||
allow_origins=["http://localhost:5173", "http://127.0.0.1:5173"],
|
||||
allow_credentials=True,
|
||||
allow_methods=["*"],
|
||||
allow_headers=["*"],
|
||||
)
|
||||
|
||||
app.include_router(auth.router)
|
||||
app.include_router(jobs.router)
|
||||
|
||||
Reference in New Issue
Block a user