toto10's picture
Upload folder using huggingface_hub (#1)
34097e9
raw
history blame
502 Bytes
from __future__ import annotations
from typing import TYPE_CHECKING
if TYPE_CHECKING:
import os
models_path = os.path.join(os.path.dirname(__file__), "1")
script_path = os.path.join(os.path.dirname(__file__), "2")
data_path = os.path.join(os.path.dirname(__file__), "3")
extensions_dir = os.path.join(os.path.dirname(__file__), "4")
extensions_builtin_dir = os.path.join(os.path.dirname(__file__), "5")
else:
from modules.paths import data_path, models_path, script_path