mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-02-04 04:32:57 +08:00
10 lines
270 B
Python
10 lines
270 B
Python
|
|
||
|
|
||
|
def realesrgan_models_names():
|
||
|
import modules.realesrgan_model
|
||
|
return [x.name for x in modules.realesrgan_model.get_realesrgan_models(None)]
|
||
|
|
||
|
def postprocessing_scripts():
|
||
|
import modules.scripts
|
||
|
|
||
|
return modules.scripts.scripts_postproc.scripts
|