Closed stevevaius2015 closed 3 months ago
I updated the functions. You can look at the readme file.
from whisperplus import SpeechToTextPipeline, download_youtube_to_mp3
url = "https://www.youtube.com/watch?v=di3rHkEZuUw"
audio_path = download_youtube_to_mp3(url, output_dir="downloads", filename="test")
I can not run Colab notebook to test it. I received following error on
from whisperplus import SpeechToTextPipeline, download_and_convert_to_mp3
sectionImportError: cannot import name 'download_and_convert_to_mp3' from 'whisperplus' (/usr/local/lib/python3.10/dist-packages/whisperplus/__init__.py)