Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloads not working. #80

Open
jamman83 opened this issue Jun 15, 2024 · 0 comments
Open

Downloads not working. #80

jamman83 opened this issue Jun 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jamman83
Copy link

jamman83 commented Jun 15, 2024

When trying to download the whisper models and the model directory is changed manually, it will fail to start the download with the following log:

2024-06-15 18:48:16.623 | DEBUG | download.py:378 [Thread-25 (download_model)] - Downloading model from Hugging Face Hub
2024-06-15 18:48:16.623 | ERROR | _logging.py:62 [Thread-25 (download_model)] - Exception in thread
2024-06-15 18:48:16.623 | ERROR | _logging.py:62 [Thread-25 (download_model)] - Thread-25 (download_model)
2024-06-15 18:48:16.623 | ERROR | _logging.py:62 [Thread-25 (download_model)] - :
2024-06-15 18:48:16.623 | ERROR | _logging.py:62 [Thread-25 (download_model)] - Traceback (most recent call last):
2024-06-15 18:48:16.623 | ERROR | _logging.py:62 [Thread-25 (download_model)] - File "C:\Users\PC.pyenv\pyenv-win\versions\3.11.6\Lib\threading.py", line 1045, in _bootstrap_inner
2024-06-15 18:48:16.623 | ERROR | _logging.py:62 [Thread-25 (download_model)] - File "C:\Users\PC.pyenv\pyenv-win\versions\3.11.6\Lib\threading.py", line 982, in run
2024-06-15 18:48:16.623 | ERROR | _logging.py:62 [Thread-25 (download_model)] - File "D:\Codes_Projects\Python\Speech-Translate\speech_translate\utils\whisper\download.py", line 44, in download_model
2024-06-15 18:48:16.633 | ERROR | _logging.py:62 [Thread-25 (download_model)] - File "D:\Codes_Projects\Python\Speech-Translate\speech_translate\ui\custom\download.py", line 379, in faster_whisper_download_with_progress_gui
2024-06-15 18:48:16.634 | ERROR | _logging.py:62 [Thread-25 (download_model)] - File "", line 210, in makedirs
2024-06-15 18:48:16.634 | ERROR | _logging.py:62 [Thread-25 (download_model)] - File "", line 213, in split
2024-06-15 18:48:16.634 | ERROR | _logging.py:62 [Thread-25 (download_model)] - TypeError
2024-06-15 18:48:16.634 | ERROR | _logging.py:62 [Thread-25 (download_model)] - :
2024-06-15 18:48:16.634 | ERROR | _logging.py:62 [Thread-25 (download_model)] - expected str, bytes or os.PathLike object, not tuple

setting the directory back to default allowed me to download and the manually move it, but it would be nice to save my poor nvme a little space.

@jamman83 jamman83 added the bug Something isn't working label Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant