aboutsummaryrefslogtreecommitdiff
path: root/extensions-builtin/Lora/network.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-07-16 23:14:57 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2023-07-16 23:14:57 +0300
commitc2297b89d3af38955addb580f5758a42094a4aa6 (patch)
tree6caccb136ea43aea7ccce3976733f17b377e22db /extensions-builtin/Lora/network.py
parentb75b004fe62826455f1aa77e849e7da13902cb17 (diff)
linter
Diffstat (limited to 'extensions-builtin/Lora/network.py')
-rw-r--r--extensions-builtin/Lora/network.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/extensions-builtin/Lora/network.py b/extensions-builtin/Lora/network.py
index a1fe6bbf..4ac63722 100644
--- a/extensions-builtin/Lora/network.py
+++ b/extensions-builtin/Lora/network.py
@@ -1,9 +1,7 @@
import os
from collections import namedtuple
-import torch
-
-from modules import devices, sd_models, cache, errors, hashes, shared
+from modules import sd_models, cache, errors, hashes, shared
NetworkWeights = namedtuple('NetworkWeights', ['network_key', 'sd_key', 'w', 'sd_module'])