aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2023-01-25 17:00:09 +0000
committerMax Audron <audron@cocaine.farm>2023-01-27 13:44:34 +0000
commit6b3981c0685cd1df750df4eb51823f1cfd70c6d5 (patch)
tree7f7ff92e3da25c2ee9645bbeac5c18df072c8334 /modules
parent14c0884fd0948c478db165989cca7aaffc9a0504 (diff)
downloadstable-diffusion-webui-gfx803-6b3981c0685cd1df750df4eb51823f1cfd70c6d5.tar.gz
stable-diffusion-webui-gfx803-6b3981c0685cd1df750df4eb51823f1cfd70c6d5.tar.bz2
stable-diffusion-webui-gfx803-6b3981c0685cd1df750df4eb51823f1cfd70c6d5.zip
clean up unused script_path imports
Diffstat (limited to 'modules')
-rw-r--r--modules/codeformer_model.py2
-rw-r--r--modules/generation_parameters_copypaste.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/codeformer_model.py b/modules/codeformer_model.py
index ab40d842..01fb7bd8 100644
--- a/modules/codeformer_model.py
+++ b/modules/codeformer_model.py
@@ -8,7 +8,7 @@ import torch
import modules.face_restoration
import modules.shared
from modules import shared, devices, modelloader
-from modules.paths import script_path, models_path
+from modules.paths import models_path
# codeformer people made a choice to include modified basicsr library to their project which makes
# it utterly impossible to use it alongside with other libraries that also use basicsr, like GFPGAN.
diff --git a/modules/generation_parameters_copypaste.py b/modules/generation_parameters_copypaste.py
index 35f72808..773c5c0e 100644
--- a/modules/generation_parameters_copypaste.py
+++ b/modules/generation_parameters_copypaste.py
@@ -6,7 +6,7 @@ import re
from pathlib import Path
import gradio as gr
-from modules.paths import data_path, script_path
+from modules.paths import data_path
from modules import shared, ui_tempdir, script_callbacks
import tempfile
from PIL import Image