File tree Expand file tree Collapse file tree 1 file changed +5
-20
lines changed
Expand file tree Collapse file tree 1 file changed +5
-20
lines changed Original file line number Diff line number Diff line change @@ -3,22 +3,7 @@ Worker for the SUNET transcription service
33
44## Development environment setup
55
6- 1 . Create a virtual environment:
7- ``` bash
8- python -m venv venv
9- ```
10-
11- 2 . Activate the virtual environment:
12- ```bash
13- source venv/bin/activate
14- ```
15-
16- 3 . Install the required packages:
17- ``` bash
18- pip install -r requirements.txt
19- ```
20-
21- 4 . Edit the environment settings, should be in a file named ` .env ` . The following settings should be sufficient for most cases:
6+ 1 . Edit the environment settings, should be in a file named ` .env ` . The following settings should be sufficient for most cases:
227 ```env
238 DEBUG=True
249 API_BACKEND_URL="http://localhost:8000"
@@ -28,15 +13,15 @@ Worker for the SUNET transcription service
2813 FILE_STORAGE_DIR="<Your file storage directory>"
2914 ```
3015
31- 5 . Build and install whisper.cpp, see https://github.com/ggml-org/whisper.cpp for details.
16+ 2 . Build and install whisper.cpp, see https://github.com/ggml-org/whisper.cpp for details.
3217
33- 6 . Download the needed Whisper models. From the transcriber-worker directory run:
18+ 3 . Download the needed Whisper models. From the transcriber-worker directory run:
3419 ```bash
3520 ./download_models.sh
3621 ```
3722
38- 7 . Run the worker:
23+ 4 . Run the worker with uv :
3924 ```bash
40- python3 main.py --foreground --debug
25+ uv run main.py --foreground --debug
4126 ```
4227
You can’t perform that action at this time.
0 commit comments