Restructure backend and frontend modules; add story, library, and editor schema migrations. Support editable automatic production, manual confirmation modes, account and user lifecycle management, compact container scrolling, consistent forms, and per-task result previews. Update inference and TTS scheduling, deployment guidance, and regression coverage; remove obsolete standalone pages and temporary acceptance artifacts.
6 lines
144 B
Python
6 lines
144 B
Python
from fastapi import HTTPException
|
|
|
|
|
|
def fail(status, code, message):
|
|
raise HTTPException(status, detail={"code": code, "message": message})
|