update README with examples
Browse files
README.md
CHANGED
|
@@ -38,6 +38,30 @@ Use at your own risk.
|
|
| 38 |
|
| 39 |
The following is additional information about the models released here.
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
## 🤗 Transformers Usage
|
| 42 |
|
| 43 |
|
|
@@ -71,7 +95,7 @@ speech_values = model.generate_speech(**inputs, do_sample=True)
|
|
| 71 |
```python
|
| 72 |
from IPython.display import Audio
|
| 73 |
|
| 74 |
-
sampling_rate = model.
|
| 75 |
Audio(speech_values.cpu().numpy().squeeze(), rate=sampling_rate)
|
| 76 |
```
|
| 77 |
|
|
|
|
| 38 |
|
| 39 |
The following is additional information about the models released here.
|
| 40 |
|
| 41 |
+
|
| 42 |
+
## Example
|
| 43 |
+
|
| 44 |
+
Try out Bark yourself!
|
| 45 |
+
|
| 46 |
+
* Bark Colab:
|
| 47 |
+
|
| 48 |
+
<a target="_blank" href="https://colab.research.google.com/drive/1eJfA2XUa-mXwdMy7DoYKVYHI1iTd9Vkt?usp=sharing">
|
| 49 |
+
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
|
| 50 |
+
</a>
|
| 51 |
+
|
| 52 |
+
* Hugging Face Colab:
|
| 53 |
+
|
| 54 |
+
<a target="_blank" href="https://colab.research.google.com/drive/1dWWkZzvu7L9Bunq9zvD-W02RFUXoW-Pd?usp=sharing">
|
| 55 |
+
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
|
| 56 |
+
</a>
|
| 57 |
+
|
| 58 |
+
* Hugging Face Demo:
|
| 59 |
+
|
| 60 |
+
<a target="_blank" href="https://huggingface.co/spaces/suno/bark">
|
| 61 |
+
<img src="https://huggingface.co/datasets/huggingface/badges/raw/main/open-in-hf-spaces-sm.svg" alt="Open in HuggingFace"/>
|
| 62 |
+
</a>
|
| 63 |
+
|
| 64 |
+
|
| 65 |
## 🤗 Transformers Usage
|
| 66 |
|
| 67 |
|
|
|
|
| 95 |
```python
|
| 96 |
from IPython.display import Audio
|
| 97 |
|
| 98 |
+
sampling_rate = model.generation_config.sample_rate
|
| 99 |
Audio(speech_values.cpu().numpy().squeeze(), rate=sampling_rate)
|
| 100 |
```
|
| 101 |
|