Skip to content

Commit b82b7db

Browse files
committed
tested example
1 parent 00012bf commit b82b7db

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

examples/youtube-video-transcription/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
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+
320
Create a new python virtual env and install the requirements:
421

522
```bash
@@ -8,6 +25,16 @@ source venv/bin/activate
825
pip 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
1239
update the `youtube_url` variable at line 36 in `youtube_video_transcription.py` with the url of the video you want to transcribe.
1340

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
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

0 commit comments

Comments
 (0)