Skip to content

Commit 8aca5f7

Browse files
authored
Fix typo in AutoModel (#13889)
1 parent 74b07e2 commit 8aca5f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/diffusers/models/auto_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def from_pretrained(cls, pretrained_model_or_path: str | os.PathLike | None = No
308308
trust_remote_code = resolve_trust_remote_code(trust_remote_code, pretrained_model_or_path, has_remote_code)
309309
if not has_remote_code and trust_remote_code:
310310
raise ValueError(
311-
"Selected model repository does not happear to have any custom code or does not have a valid `config.json` file."
311+
"Selected model repository does not appear to have any custom code or does not have a valid `config.json` file."
312312
)
313313

314314
if has_remote_code and trust_remote_code:

0 commit comments

Comments
 (0)