We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a65ca8a commit 58b8dceCopy full SHA for 58b8dce
src/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py
@@ -1317,6 +1317,9 @@ def download_from_original_stable_diffusion_ckpt(
1317
1318
if config_url is not None:
1319
original_config_file = BytesIO(requests.get(config_url).content)
1320
+ else:
1321
+ with open(original_config_file, "r") as f:
1322
+ original_config_file = f.read()
1323
1324
original_config = yaml.safe_load(original_config_file)
1325
0 commit comments