fix: update cacheRatioMap initialization in InitModelSettings function

This commit is contained in:
CaIon
2025-04-26 17:09:23 +08:00
parent 453a42fad9
commit 935acccca4

View File

@@ -278,7 +278,7 @@ func InitModelSettings() {
// Initialize cacheRatioMap
cacheRatioMapMutex.Lock()
cacheRatioMap = defaultCreateCacheRatio
cacheRatioMap = defaultCacheRatio
cacheRatioMapMutex.Unlock()
// initialize imageRatioMap