@@ -28,13 +28,13 @@ graph TD
2828 H --> J
2929 I --> J
3030
31- style A fill:#e1f5fe
32- style B fill:#f3e5f5
33- style C fill:#fff3e0
34- style D fill:#e8f5e8
35- style E fill:#e8f5e8
36- style F fill:#e8f5e8
37- style J fill:#e1f5fe
31+ style A fill:#e1f5fe,color:#000
32+ style B fill:#f3e5f5,color:#000
33+ style C fill:#fff3e0,color:#000
34+ style D fill:#e8f5e8,color:#000
35+ style E fill:#e8f5e8,color:#000
36+ style F fill:#e8f5e8,color:#000
37+ style J fill:#e1f5fe,color:#000
3838```
3939
4040### Deploying the API Server
@@ -43,15 +43,17 @@ To use the remote API functionality, you'll need to deploy the Audio Separator A
4343
44441 . ** Sign up for Modal.com** at [ modal.com] ( https://modal.com )
45452 . ** Install the Modal CLI** and authenticate:
46+ (Note, modal will need access to the installed project dependencies in whatever virtual environment you're using for audio-separator)
4647 ``` bash
48+ poetry install --extras cpu # need either cpu or gpu to ensure onnxruntime is installed
4749 pip install modal
4850 modal setup
4951 ```
50- 3 . ** Deploy the Audio Separator API** :
52+ 4 . ** Deploy the Audio Separator API** :
5153 ``` bash
5254 modal deploy audio_separator/remote/deploy_modal.py
5355 ```
54- 4 . ** Get your API URL** from the deployment output. It will look like:
56+ 5 . ** Get your API URL** from the deployment output. It will look like:
5557 ```
5658 https://USERNAME--audio-separator-api.modal.run
5759 ```
0 commit comments