Skip to content

Commit

Permalink
fix: import missing modules
Browse files Browse the repository at this point in the history
  • Loading branch information
leafspark committed Aug 23, 2024
1 parent 6e42446 commit ca9f9a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/AutoGGUF.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 *
Expand Down
4 changes: 2 additions & 2 deletions src/imports_and_globals.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
import sys
from typing import LiteralString, TextIO, Union
from typing import TextIO, Union

import psutil
import subprocess
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ca9f9a4

Please sign in to comment.