Commit 5cf623c5 authored by AUTOMATIC1111's avatar AUTOMATIC1111

linter

parent 60397a78
......@@ -41,7 +41,7 @@ for d, must_exist, what, options in path_dirs:
# import sgm and remove it from sys.path so that when a script imports scripts.something, it doesbn't use sgm's scripts dir.
sys.path.insert(0, d)
import sgm
import sgm # noqa: F401
sys.path.pop(0)
else:
sys.path.append(d)
......
from __future__ import annotations
import sys
import torch
import sgm.models.diffusion
......
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