mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-04 11:12:35 +00:00
undo upscaler model filename tampering
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user