albertvillanova HF staff commited on
Commit
3f40356
1 Parent(s): b26b1f5

Update loading script

Browse files
Files changed (1) hide show
  1. code_search_net.py +2 -2
code_search_net.py CHANGED
@@ -49,9 +49,9 @@ _HOMEPAGE = "https://github.com/github/CodeSearchNet"
49
 
50
  _LICENSE = "Various"
51
 
52
- _S3_BUCKET_URL = "https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/"
53
  _AVAILABLE_LANGUAGES = ["python", "java", "javascript", "go", "ruby", "php"]
54
- _URLs = {language: _S3_BUCKET_URL + f"{language}.zip" for language in _AVAILABLE_LANGUAGES}
55
  # URLs for "all" are just the concatenation of URLs for all languages
56
  _URLs["all"] = _URLs.copy()
57
 
 
49
 
50
  _LICENSE = "Various"
51
 
52
+ _DATA_DIR_URL = "data/"
53
  _AVAILABLE_LANGUAGES = ["python", "java", "javascript", "go", "ruby", "php"]
54
+ _URLs = {language: _DATA_DIR_URL + f"{language}.zip" for language in _AVAILABLE_LANGUAGES}
55
  # URLs for "all" are just the concatenation of URLs for all languages
56
  _URLs["all"] = _URLs.copy()
57