Skip to content

Commit 019371c

Browse files
committed
Lint
1 parent 814520f commit 019371c

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

modules/github.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import subprocess
22
from pathlib import Path
33

4-
from modules.logging_colors import logger
5-
64
new_extensions = set()
75

86

@@ -34,7 +32,7 @@ def clone_or_pull_repository(github_url):
3432
yield f"Cloning {github_url}..."
3533
clone_output = subprocess.check_output(["git", "clone", github_url, repo_path], stderr=subprocess.STDOUT)
3634
new_extensions.add(repo_name)
37-
yield(f"The extension `{repo_name}` has been downloaded.\n\nPlease close the the web UI completely and launch it again to be able to load it.")
35+
yield f"The extension `{repo_name}` has been downloaded.\n\nPlease close the the web UI completely and launch it again to be able to load it."
3836
return clone_output.decode()
3937
except subprocess.CalledProcessError as e:
4038
return str(e)

modules/html_generator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import markdown
88
from PIL import Image, ImageOps
99

10-
from modules.logging_colors import logger
1110
from modules.utils import get_available_chat_styles
1211

1312
# This is to store the paths to the thumbnails of the profile pictures

modules/llamacpp_model.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import re
22
from functools import partial
3-
from pathlib import Path
43

54
import numpy as np
65
import torch

0 commit comments

Comments
 (0)