naman1102 commited on
Commit
9afd718
·
1 Parent(s): b067047

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +1 -0
tools.py CHANGED
@@ -20,6 +20,7 @@ def _download_file_for_task(task_id: str, ext: str) -> str:
20
  Saves under ./hf_files/{task_id}.{ext}. Returns the local path if successful,
21
  or an empty string if no file / download failed.
22
  """
 
23
  print("reached _download_file_for_task")
24
  os.makedirs("hf_files", exist_ok=True)
25
  local_path = os.path.join("hf_files", f"{task_id}.{ext}")
 
20
  Saves under ./hf_files/{task_id}.{ext}. Returns the local path if successful,
21
  or an empty string if no file / download failed.
22
  """
23
+
24
  print("reached _download_file_for_task")
25
  os.makedirs("hf_files", exist_ok=True)
26
  local_path = os.path.join("hf_files", f"{task_id}.{ext}")