Merge pull request #45 from songquanpeng/main

Fork Sync: Update from parent repository
This commit is contained in:
quzard 2023-06-18 22:37:40 +08:00 committed by GitHub
commit ddf60a719b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ func GetModelRatio(name string) float64 {
ratio, ok := ModelRatio[name] ratio, ok := ModelRatio[name]
if !ok { if !ok {
SysError("Model ratio not found: " + name) SysError("Model ratio not found: " + name)
return 1 return 30
} }
return ratio return ratio
} }