Update README.md
Browse files
README.md
CHANGED
@@ -10,6 +10,15 @@ Audio to audio inference doesn't seem good at all. Potentially I am tokenizing t
|
|
10 |
|
11 |
Script here works with just single speaker - if you know how to get other speakers let me know and I'll update it.
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
```python
|
14 |
import gradio as gr
|
15 |
from spiritlm.model.spiritlm_model import Spiritlm, OutputModality, GenerationInput, ContentType
|
|
|
10 |
|
11 |
Script here works with just single speaker - if you know how to get other speakers let me know and I'll update it.
|
12 |
|
13 |
+
to install requirements for the sample Gradio demo provided, please run:
|
14 |
+
|
15 |
+
```
|
16 |
+
pip install torch torchaudio --index-url https://download.pytorch.org/whl/cu121
|
17 |
+
pip install gradio tempfile transformers numpy
|
18 |
+
```
|
19 |
+
|
20 |
+
Remember that you also need to install the [spiritlm](https://github.com/facebookresearch/spiritlm) module.
|
21 |
+
|
22 |
```python
|
23 |
import gradio as gr
|
24 |
from spiritlm.model.spiritlm_model import Spiritlm, OutputModality, GenerationInput, ContentType
|