File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed
examples/youtube-video-transcription Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 11
22## Setup
3+
4+ Clone the parent repostory
5+
6+
7+ ``` bash
8+ git clone git@github.com:slashml/slashml-python-client.git
9+ ```
10+
11+ Change directory to the example folder:
12+
13+ ``` bash
14+ cd slashml-python-client/examples/youtube-video-transcription
15+ ```
16+
17+ This will bring you to the current folder
18+
19+
320Create a new python virtual env and install the requirements:
421
522``` bash
@@ -8,6 +25,16 @@ source venv/bin/activate
825pip install -r requirements.txt
926```
1027
28+ ## Quickstart
29+
30+ ```
31+ python transcribe_youtube_video.py
32+ ```
33+
34+ This will print the transcription of https://youtu.be/5-TgqZ8nado .
35+
36+
37+
1138## Transcribing a single video
1239update the ` youtube_url ` variable at line 36 in ` youtube_video_transcription.py ` with the url of the video you want to transcribe.
1340
Original file line number Diff line number Diff line change 1- youtube-dl@git+https://github.com/ytdl-org/youtube-dl.git
1+ youtube-dl@git+https://github.com/ytdl-org/youtube-dl.git
2+ slashml
You can’t perform that action at this time.
0 commit comments