fix(realesrgan): fixed RealESRGAN model name variable

Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
k4yt3x
2024-11-02 00:00:00 +00:00
parent 406a97f360
commit bb74144070
2 changed files with 11 additions and 7 deletions

View File

@@ -56,7 +56,7 @@ struct RealESRGANConfig {
bool tta_mode;
int scaling_factor;
#ifdef _WIN32
const wchar_t *model_path;
const wchar_t *model_name;
#else
const char *model_name;
#endif