mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 19:05:05 +08:00
undo upscaler model filename tampering
This commit is contained in:
parent
a5e7b371d6
commit
aec811c5e6
@ -64,7 +64,6 @@ def friendly_name(file: str):
|
||||
|
||||
file = os.path.basename(file)
|
||||
model_name, extension = os.path.splitext(file)
|
||||
model_name = model_name.replace("_", " ").title()
|
||||
return model_name
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user