Skip to content

Commit

Permalink
整理: コメントアウトされたコードを除去 (VOICEVOX#1212)
Browse files Browse the repository at this point in the history
refactor: コメントアウトされたコードを除去
  • Loading branch information
tarepan authored May 4, 2024
1 parent 08ccfc7 commit db8fdd2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,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

0 comments on commit db8fdd2

Please sign in to comment.