NagisaNao commited on
Commit
36cc811
1 Parent(s): a397f2f
files_cells/notebooks/en/downloading_en.ipynb CHANGED
@@ -449,7 +449,7 @@
449
  "\n",
450
  " # -- GitHub or Hugging Face --\n",
451
  " elif 'github' in url or 'huggingface' in url:\n",
452
- " run_aria2c(clean_url, dst_dir, basename, aria2_args, hf_header if 'huggingface' in url else '')\n",
453
  "\n",
454
  " # -- Other HTTP/Sources --\n",
455
  " elif 'http' in url:\n",
 
449
  "\n",
450
  " # -- GitHub or Hugging Face --\n",
451
  " elif 'github' in url or 'huggingface' in url:\n",
452
+ " run_aria2c(clean_url, dst_dir, file_name, aria2_args, hf_header if 'huggingface' in url else '')\n",
453
  "\n",
454
  " # -- Other HTTP/Sources --\n",
455
  " elif 'http' in url:\n",
files_cells/notebooks/ru/downloading_ru.ipynb CHANGED
@@ -449,7 +449,7 @@
449
  "\n",
450
  " # -- GitHub or Hugging Face --\n",
451
  " elif 'github' in url or 'huggingface' in url:\n",
452
- " run_aria2c(clean_url, dst_dir, basename, aria2_args, hf_header if 'huggingface' in url else '')\n",
453
  "\n",
454
  " # -- Other HTTP/Sources --\n",
455
  " elif 'http' in url:\n",
 
449
  "\n",
450
  " # -- GitHub or Hugging Face --\n",
451
  " elif 'github' in url or 'huggingface' in url:\n",
452
+ " run_aria2c(clean_url, dst_dir, file_name, aria2_args, hf_header if 'huggingface' in url else '')\n",
453
  "\n",
454
  " # -- Other HTTP/Sources --\n",
455
  " elif 'http' in url:\n",
files_cells/python/en/downloading_en.py CHANGED
@@ -439,7 +439,7 @@ def manual_download(url, dst_dir, file_name, prefix=None):
439
 
440
  # -- GitHub or Hugging Face --
441
  elif 'github' in url or 'huggingface' in url:
442
- run_aria2c(clean_url, dst_dir, basename, aria2_args, hf_header if 'huggingface' in url else '')
443
 
444
  # -- Other HTTP/Sources --
445
  elif 'http' in url:
 
439
 
440
  # -- GitHub or Hugging Face --
441
  elif 'github' in url or 'huggingface' in url:
442
+ run_aria2c(clean_url, dst_dir, file_name, aria2_args, hf_header if 'huggingface' in url else '')
443
 
444
  # -- Other HTTP/Sources --
445
  elif 'http' in url:
files_cells/python/ru/downloading_ru.py CHANGED
@@ -439,7 +439,7 @@ def manual_download(url, dst_dir, file_name, prefix=None):
439
 
440
  # -- GitHub or Hugging Face --
441
  elif 'github' in url or 'huggingface' in url:
442
- run_aria2c(clean_url, dst_dir, basename, aria2_args, hf_header if 'huggingface' in url else '')
443
 
444
  # -- Other HTTP/Sources --
445
  elif 'http' in url:
 
439
 
440
  # -- GitHub or Hugging Face --
441
  elif 'github' in url or 'huggingface' in url:
442
+ run_aria2c(clean_url, dst_dir, file_name, aria2_args, hf_header if 'huggingface' in url else '')
443
 
444
  # -- Other HTTP/Sources --
445
  elif 'http' in url: