Use tempfile.mkdtemp(), Add license badge

This commit is contained in:
henryruhs
2023-08-20 16:26:33 +02:00
parent f3158ed4c1
commit 26d3b634f3
2 changed files with 3 additions and 1 deletions

View File

@@ -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