diff --git a/facefusion/temp_helper.py b/facefusion/temp_helper.py index d5c211f2..e7deb423 100644 --- a/facefusion/temp_helper.py +++ b/facefusion/temp_helper.py @@ -5,9 +5,9 @@ from facefusion import state_manager from facefusion.filesystem import create_directory, get_file_extension, get_file_name, move_file, remove_directory, resolve_file_pattern -def get_temp_file_path(file_path : str, output_path : str) -> str: +def get_temp_file_path(file_path : str, move_path : str) -> str: temp_directory_path = get_temp_directory_path(file_path) - temp_file_extension = get_file_extension(output_path) + temp_file_extension = get_file_extension(move_path) return os.path.join(temp_directory_path, 'temp' + temp_file_extension)