You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python src/preprocess.py --update_database
INFO:__main__:Updating database
INFO:__main__:Downloading from https://sponsor.ajay.app/database/sponsorTimes.csv
Traceback (most recent call last):
File "/Users/ohadbasan/sponsorblock-ml/src/preprocess.py", line 979, in <module>
main()
File "/Users/ohadbasan/sponsorblock-ml/src/preprocess.py", line 529, in main
if download_file(mirror, raw_dataset_path):
File "/Users/ohadbasan/sponsorblock-ml/src/preprocess.py", line 497, in download_file
total_bytes = int(r.headers['Content-Length'])
File "/Users/ohadbasan/code/orchestration/venv/lib/python3.10/site-packages/requests/structures.py", line 52, in __getitem__
return self._store[key.lower()][1]
KeyError: 'content-length'
Hello!
I am trying to initialize the db
it looks like the link https://sponsor.ajay.app/database/sponsorTimes.csv is not operational
here is a fix
#7
The text was updated successfully, but these errors were encountered: