mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-14 22:53:25 +03: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)
|
file = os.path.basename(file)
|
||||||
model_name, extension = os.path.splitext(file)
|
model_name, extension = os.path.splitext(file)
|
||||||
model_name = model_name.replace("_", " ").title()
|
|
||||||
return model_name
|
return model_name
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user