Fix startup and GPT initialization issues

This commit is contained in:
Jianwu Huang
2025-06-04 09:37:21 +08:00
parent df5c0f771a
commit b965020491
2 changed files with 0 additions and 2 deletions

View File

@@ -14,7 +14,6 @@ class UniversalGPT(GPT):
self.model = model self.model = model
self.temperature = temperature self.temperature = temperature
self.screenshot = False self.screenshot = False
self.screenshot = False
self.link = False self.link = False
def _format_time(self, seconds: float) -> str: def _format_time(self, seconds: float) -> str:

View File

@@ -40,7 +40,6 @@ async def startup_event():
register_exception_handlers(app) register_exception_handlers(app)
register_handler() register_handler()
ensure_ffmpeg_or_raise() ensure_ffmpeg_or_raise()
register_handler()
get_transcriber(transcriber_type=os.getenv("TRANSCRIBER_TYPE","fast-whisper")) get_transcriber(transcriber_type=os.getenv("TRANSCRIBER_TYPE","fast-whisper"))
init_video_task_table() init_video_task_table()
init_provider_table() init_provider_table()