abdeladim-s / subsai

🎞️ Subtitles generation tool (Web-UI + CLI + Python package) powered by OpenAI's Whisper and its variants 🎞️
https://abdeladim-s.github.io/subsai/
GNU General Public License v3.0
1.16k stars 96 forks source link

Error in CLI documentation #64

Open bborp opened 10 months ago

bborp commented 10 months ago

In the documentation on the github page under Usage->CLI->"Example of simple usage" you have: subsai ./assets/test1.mp4 --model openai/whisper --model-configs '{"model_type": "small"}' --format srt When it should be: subsai ./assets/test1.mp4 --model openai/whisper --model-configs "{\"model_type\": \"small\"}" --format srt

abdeladim-s commented 10 months ago

I think you are using Windows CMD that's why you needed the \ for the double quotes. On my Linux machine, it works without any problem. But anyways, I included this as a note in the Readme page for reference to future windows users. Thanks @bborp.