👍️[Update] Controller : change endpoint for ai model download progress

download_ctranslate2_weight -> download_progress_ctranslate2_weight
download_whisper_weight -> download_progress_whisper_weight
This commit is contained in:
misyaguziya
2024-11-21 23:47:36 +09:00
parent 3e883dfeb7
commit 650ec2cce7
2 changed files with 4 additions and 4 deletions

View File

@@ -144,7 +144,7 @@ class Controller:
printLog("CTranslate2 Weight Download Progress", progress)
self.run(
200,
self.run_mapping["download_ctranslate2_weight"],
self.run_mapping["download_progress_ctranslate2_weight"],
{"weight_type": self.weight_type, "progress": progress},
)
@@ -169,7 +169,7 @@ class Controller:
printLog("Whisper Weight Download Progress", progress)
self.run(
200,
self.run_mapping["download_whisper_weight"],
self.run_mapping["download_progress_whisper_weight"],
{"weight_type": self.weight_type, "progress": progress},
)