Skip to content

Commit 7486016

Browse files
committed
oups
1 parent 1785eaa commit 7486016

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffusers/models/modeling_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
from collections import OrderedDict
2424
from functools import partial, wraps
2525
from pathlib import Path
26-
from typing import Any, Callable, List, Optional, Tuple, Union
26+
from typing import Any, Callable, Dict, List, Optional, Tuple, Union
2727

2828
import safetensors
2929
import torch
30-
from huggingface_hub import DDUFEntry, Dict, create_repo, split_torch_state_dict_into_shards
30+
from huggingface_hub import DDUFEntry, create_repo, split_torch_state_dict_into_shards
3131
from huggingface_hub.utils import validate_hf_hub_args
3232
from torch import Tensor, nn
3333

0 commit comments

Comments
 (0)