Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
oobabooga committed Sep 26, 2023
1 parent 814520f commit 019371c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions modules/github.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import subprocess
from pathlib import Path

from modules.logging_colors import logger

new_extensions = set()


Expand Down Expand Up @@ -34,7 +32,7 @@ def clone_or_pull_repository(github_url):
yield f"Cloning {github_url}..."
clone_output = subprocess.check_output(["git", "clone", github_url, repo_path], stderr=subprocess.STDOUT)
new_extensions.add(repo_name)
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.")
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."
return clone_output.decode()
except subprocess.CalledProcessError as e:
return str(e)
1 change: 0 additions & 1 deletion modules/html_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import markdown
from PIL import Image, ImageOps

from modules.logging_colors import logger
from modules.utils import get_available_chat_styles

# This is to store the paths to the thumbnails of the profile pictures
Expand Down
1 change: 0 additions & 1 deletion modules/llamacpp_model.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import re
from functools import partial
from pathlib import Path

import numpy as np
import torch
Expand Down

0 comments on commit 019371c

Please sign in to comment.