Skip to content

Commit 4e7d15a

Browse files
SunMarcWauplin
andauthored
Update src/diffusers/configuration_utils.py
Co-authored-by: Lucain <[email protected]>
1 parent 8358ef6 commit 4e7d15a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/configuration_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ def extract_init_dict(cls, config_dict, **kwargs):
560560
return init_dict, unused_kwargs, hidden_config_dict
561561

562562
@classmethod
563-
def _dict_from_json_file(cls, json_file: Union[str, os.PathLike], dduf_entries=None):
563+
def _dict_from_json_file(cls, json_file: Union[str, os.PathLike], dduf_entries: Optional[Dict[str, DDUFEntry]] = None):
564564
if dduf_entries:
565565
text = dduf_entries[json_file].read_text()
566566
else:

0 commit comments

Comments
 (0)