Skip to content

Commit 3607a9d

Browse files
committed
Update audio-transcript readme
1 parent c4ce9d5 commit 3607a9d

File tree

1 file changed

+41
-4
lines changed

1 file changed

+41
-4
lines changed

audio_transcript/README.md

Lines changed: 41 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,47 @@ docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:723
1818

1919
## Start python shell
2020

21+
If using uv:
22+
2123
```bash
22-
poetry env use 3.10 && poetry shell
24+
uv venv && source .venv/bin/activate
2325
```
2426

25-
## Install dependencies
27+
If using poetry:
2628

2729
```bash
28-
poetry install
30+
poetry env use 3.12 && poetry shell
2931
```
3032

33+
If using pip:
34+
3135
```bash
32-
poetry env info # Optional: copy the interpreter path to use in your IDE (e.g. Cursor, VSCode, etc.)
36+
python -m venv .venv && source .venv/bin/activate
3337
```
3438

39+
## Install dependencies
40+
41+
If using uv:
42+
3543
```bash
44+
uv sync
45+
uv run dev
46+
```
47+
48+
If using poetry:
49+
50+
```bash
51+
poetry install
3652
poetry run dev
3753
```
3854

55+
If using pip:
56+
57+
```bash
58+
pip install -e .
59+
python -c "from src.services import watch_services; watch_services()"
60+
```
61+
3962
## Run workflows
4063

4164
### from UI
@@ -54,10 +77,24 @@ You can run workflows from the API by using the generated endpoint:
5477

5578
You can run workflows with any client connected to Restack, for example:
5679

80+
If using uv:
81+
5782
```bash
5883
poetry run schedule
5984
```
6085

86+
If using poetry:
87+
88+
```bash
89+
poetry run schedule
90+
```
91+
92+
If using pip:
93+
94+
```bash
95+
python -c "from schedule_workflow import run_schedule_workflow; run_schedule_workflow()"
96+
```
97+
6198
executes `schedule_workflow.py` which will connect to Restack and execute the `TranscribeTranslateWorkflow` workflow.
6299

63100
## Deploy on Restack Cloud

0 commit comments

Comments
 (0)