Get path where results are saved by default
()
| 50 | |
| 51 | |
| 52 | def get_outpath(): |
| 53 | """Get path where results are saved by default""" |
| 54 | path = get_opt('outdir_samples', None) |
| 55 | if path is None or len(path) == 0: |
| 56 | path = get_opt('outdir_extras_samples', None) |
| 57 | assert path is not None and len(path) > 0 |
| 58 | return path |
| 59 | |
| 60 | |
| 61 | def unload_sd_model(): |