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

How do I proceed next to get the text? [I am a noob] #32

Open
HardikJain02 opened this issue Dec 17, 2022 · 3 comments
Open

How do I proceed next to get the text? [I am a noob] #32

HardikJain02 opened this issue Dec 17, 2022 · 3 comments

Comments

@HardikJain02
Copy link

HardikJain02 commented Dec 17, 2022

If the following is the code for whisper (it is for local video), what will be the code for yt-whisper for a youtube video?

import whisper
model = whisper.load_model("base")
result = model.transcribe("localaudio.mp3")
print(result["text"])

@HardikJain02
Copy link
Author

@m1guelpf

@afrizal0
Copy link

i think simply you can change your local video name with your youtube url

@HardikJain02
Copy link
Author

hey, that won't work. that doesn't make sense because I'm using yt_whisper for directly transcribing through the youtube URL, not the local video.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants