如何修改facefusion3.0临时目录的方法

教程2小时前更新 spoony
0 0 0
如何修改facefusion3.0临时目录的方法,2.几是改filesystem的文件,
3.0修改的是temp_helper.py:
get_temp_directory_path(file_path : str) -> str:
    temp_file_name, _ = os.path.splitext(os.path.basename(file_path))
    base_directory_path = get_base_directory_path()
    return os.path.join(base_directory_path, temp_file_name)
直接修改第47行即可。

base_directory_path = get_base_directory_path()
换成固定值,搞定收工。
base_directory_path = 'd:\facefusion_temp\'

相关推荐: 如何修改facefusion3.0临时目录的方法

如何修改facefusion3.0临时目录的方法,2.几是改filesystem的文件, 3.0修改的是temp_helper.py: get_temp_directory_path(file_path : str) -> str:     temp_f…

© 版权声明

相关文章

暂无评论

暂无评论...