瀏覽代碼

removed debug

josh 7 月之前
父節點
當前提交
357e3380fe
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      exo/download/hf/hf_helpers.py

+ 1 - 1
exo/download/hf/hf_helpers.py

@@ -113,7 +113,7 @@ async def move_models_to_hf(seed_dir: Union[str, Path]):
     if path.is_dir() and path.name.startswith("models--"):
     if path.is_dir() and path.name.startswith("models--"):
       dest_path = dest_dir / path.name
       dest_path = dest_dir / path.name
       if await aios.path.exists(dest_path):
       if await aios.path.exists(dest_path):
-        if DEBUG>=1: print('Skipping moving model to .cache directory')
+        print('Skipping moving model to .cache directory')
       else:
       else:
         try:
         try:
           await aios.rename(str(path), str(dest_path))
           await aios.rename(str(path), str(dest_path))