Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

整理: コメントアウトされたコードを除去 #1212

Merged
merged 1 commit into from
May 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,6 @@ async def lifespan(app: FastAPI) -> AsyncIterator[None]:
variable_end_string="<JINJA_POST>",
)

# @app.on_event("startup")
# async def start_catch_disconnection():
# if cancellable_engine is not None:
# loop = asyncio.get_event_loop()
# _ = loop.create_task(cancellable_engine.catch_disconnection())

def get_engine(core_version: Optional[str]) -> TTSEngine:
if core_version is None:
return tts_engines[latest_core_version]
Expand Down