JAM-Solutionss / SnapScrib

MIT License
1 stars 0 forks source link

New transcription #19

Closed cipher-shad0w closed 1 month ago

cipher-shad0w commented 1 month ago

EXPLANATION:

I have found a better way to transcribe the video. Previously, we had first downloaded the video as an audio file and then transcribed it. now all this is skipped and the video is transcribed directly. (The duration is a few seconds).

This way is clearer (only one file) and more runtime efficient.

USE:

To use the function you have to call get_transcription(url) and pass the desired url.

mirixy commented 1 month ago

If this is really better it is okay. It was not about the time it takes, it was more about the accuracy. If this new function is only working when there is a transcription available, it would be inferior to the previous version.

It is normal that an AI takes a bit of time to transcribe everything, especially with a larger model, when it is running locally. We can test it, if it is suitable for every video on youtube, especially one which has no subtitles.

The previous method would work on every audio file or video file, so it would not be limited to youtube.