diff --git a/src/AutoGGUF.py b/src/AutoGGUF.py index c377996..b387cf8 100644 --- a/src/AutoGGUF.py +++ b/src/AutoGGUF.py @@ -5,7 +5,7 @@ from functools import partial from datetime import datetime -from typing import Tuple, Dict +from typing import Tuple, Dict, List, Any from dotenv import load_dotenv from PySide6.QtCore import * from PySide6.QtGui import * diff --git a/src/imports_and_globals.py b/src/imports_and_globals.py index eec3e61..176f63f 100644 --- a/src/imports_and_globals.py +++ b/src/imports_and_globals.py @@ -1,6 +1,6 @@ import os import sys -from typing import LiteralString, TextIO, Union +from typing import TextIO, Union import psutil import subprocess @@ -69,7 +69,7 @@ def open_file_safe(file_path, mode="r") -> TextIO: ) -def resource_path(relative_path) -> Union[LiteralString, str, bytes]: +def resource_path(relative_path) -> Union[str, str, bytes]: if hasattr(sys, "_MEIPASS"): # PyInstaller path base_path = sys._MEIPASS