EuuIia commited on
Commit
b805953
verified
1 Parent(s): 6dedacb

Update api/seedvr_server.py

Browse files
Files changed (1) hide show
  1. api/seedvr_server.py +2 -2
api/seedvr_server.py CHANGED
@@ -28,7 +28,7 @@ except ImportError as e:
28
  print(f"Verifique se o reposit贸rio em '{SEEDVR_REPO_PATH}' est谩 correto e completo.")
29
  raise e
30
 
31
- init = False
32
 
33
  class SeedVRServer:
34
  def __init__(self, **kwargs):
@@ -44,7 +44,7 @@ class SeedVRServer:
44
  REPO_URL = os.getenv("SEEDVR_GIT_URL", "https://github.com/numz/ComfyUI-SeedVR2_VideoUpscaler")
45
  NUM_GPUS_TOTAL = 4#int(os.getenv("NUM_GPUS", "8"))
46
 
47
- if init:
48
  print("鈿掞笍 SeedVRServer (Modo de Chamada Direta) inicializando...")
49
  for p in [CKPTS_ROOT, OUTPUT_ROOT, INPUT_ROOT, HF_HOME_CACHE]:
50
  p.mkdir(parents=True, exist_ok=True)
 
28
  print(f"Verifique se o reposit贸rio em '{SEEDVR_REPO_PATH}' est谩 correto e completo.")
29
  raise e
30
 
31
+ INIT = False
32
 
33
  class SeedVRServer:
34
  def __init__(self, **kwargs):
 
44
  REPO_URL = os.getenv("SEEDVR_GIT_URL", "https://github.com/numz/ComfyUI-SeedVR2_VideoUpscaler")
45
  NUM_GPUS_TOTAL = 4#int(os.getenv("NUM_GPUS", "8"))
46
 
47
+ if INIT:
48
  print("鈿掞笍 SeedVRServer (Modo de Chamada Direta) inicializando...")
49
  for p in [CKPTS_ROOT, OUTPUT_ROOT, INPUT_ROOT, HF_HOME_CACHE]:
50
  p.mkdir(parents=True, exist_ok=True)