Fix CI
This commit is contained in:
@@ -6,12 +6,8 @@ from typing import List, Optional
|
|||||||
|
|
||||||
import filetype
|
import filetype
|
||||||
|
|
||||||
from facefusion.common_helper import is_windows
|
|
||||||
from facefusion.typing import File
|
from facefusion.typing import File
|
||||||
|
|
||||||
if is_windows():
|
|
||||||
import ctypes
|
|
||||||
|
|
||||||
|
|
||||||
def get_file_size(file_path : str) -> int:
|
def get_file_size(file_path : str) -> int:
|
||||||
if is_file(file_path):
|
if is_file(file_path):
|
||||||
|
|||||||
Reference in New Issue
Block a user