Use tempfile.mkdtemp(), Add license badge
This commit is contained in:
@@ -4,6 +4,7 @@ FaceFusion
|
||||
> Next generation face swapper and enhancer.
|
||||
|
||||
[](https://github.com/facefusion/facefusion/actions?query=workflow:ci)
|
||||

|
||||
|
||||
|
||||
Preview
|
||||
|
||||
@@ -5,6 +5,7 @@ import platform
|
||||
import shutil
|
||||
import ssl
|
||||
import subprocess
|
||||
import tempfile
|
||||
import urllib
|
||||
from pathlib import Path
|
||||
from typing import List, Optional
|
||||
@@ -15,7 +16,7 @@ from tqdm import tqdm
|
||||
import facefusion.globals
|
||||
from facefusion import wording
|
||||
|
||||
TEMP_DIRECTORY = '.temp'
|
||||
TEMP_DIRECTORY = tempfile.mkdtemp(prefix = 'facefusion')
|
||||
TEMP_VIDEO_FILE = 'temp.mp4'
|
||||
|
||||
# monkey patch ssl
|
||||
|
||||
Reference in New Issue
Block a user