Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
blaise-tk committed Feb 20, 2024
2 parents 50bce32 + 1a382e8 commit 4ad850f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def exist_check(url: str, out: str):
),
)


def update_modelnames():
if not os.path.exists(os.path.join(MODELS_DIR, "embeddings")):
os.makedirs(os.path.join(MODELS_DIR, "embeddings"))
Expand All @@ -93,4 +94,4 @@ def update_modelnames():
def preload():
update_modelnames()
download_models()
# ADD FFMPEG DOWNLOAD
# ADD FFMPEG DOWNLOAD
2 changes: 2 additions & 0 deletions modules/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
from .shared import ROOT_DIR

import logging

logging.getLogger("httpx").setLevel(logging.CRITICAL)


class Tab:
TABS_DIR = os.path.join(ROOT_DIR, "modules", "tabs")

Expand Down

0 comments on commit 4ad850f

Please sign in to comment.