"web/git@developer.sourcefind.cn:chenpangpang/ComfyUI.git" did not exist on "a126e2c185ed238dcb20c14ac943498bbc91a890"
Commit 4621ad6f authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Use the same pattern as everywhere else.

This is really just for consistency.
parent a31d4a29
......@@ -26,14 +26,12 @@ from collections import Counter, OrderedDict
import numpy as np
from .file_utils import cached_path
from .file_utils import cached_path, is_torch_available
from .tokenization_utils import PreTrainedTokenizer
try:
if is_torch_available():
import torch
except ImportError:
pass
logger = logging.getLogger(__name__)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment