ishworrsubedii commited on
Commit
5562356
·
verified ·
1 Parent(s): 2f3267f

Update src/components/faceswap.py

Browse files
Files changed (1) hide show
  1. src/components/faceswap.py +1 -1
src/components/faceswap.py CHANGED
@@ -39,7 +39,7 @@ class FaceSwapper:
39
  logger.info(f"Setting XDG_CACHE_HOME to: {os.environ['XDG_CACHE_HOME']}")
40
 
41
  # Ensure cookies.txt exists
42
- cookie_path = os.path.join(gdown_cache_dir, "cookies.txt")
43
  if not os.path.exists(cookie_path):
44
  with open(cookie_path, 'w') as f:
45
  # Create an empty cookies.txt file
 
39
  logger.info(f"Setting XDG_CACHE_HOME to: {os.environ['XDG_CACHE_HOME']}")
40
 
41
  # Ensure cookies.txt exists
42
+ cookie_path = os.path.join("/.cache/gdown/", "cookies.txt")
43
  if not os.path.exists(cookie_path):
44
  with open(cookie_path, 'w') as f:
45
  # Create an empty cookies.txt file