fx
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ tags:
|
|
| 14 |
- mimic3
|
| 15 |
---
|
| 16 |
|
| 17 |
-
Audionar - Phonetic
|
| 18 |
|
| 19 |
[](https://shift-europe.eu/)
|
| 20 |
|
|
@@ -45,7 +45,7 @@ Build virtualenv & run api.py
|
|
| 45 |
</summary>
|
| 46 |
|
| 47 |
Above [TTS Demo](https://huggingface.co/dkounadis/artificial-styletts2/blob/main/demo.py) is a standalone script that loads TTS & AudioGen models and synthesizes a txt. We also provide a Flask `api.py` that allows faster inference with
|
| 48 |
-
loading only once
|
| 49 |
|
| 50 |
Clone
|
| 51 |
|
|
@@ -69,10 +69,6 @@ CUDA_DEVICE_ORDER=PCI_BUS_ID HF_HOME=/data/.hf7/ CUDA_VISIBLE_DEVICES=0 python a
|
|
| 69 |
|
| 70 |
Following examples need `api.py` to be running. [Set this IP](https://huggingface.co/dkounadis/artificial-styletts2/blob/main/tts.py#L93) to the IP shown when starting `api.py`.
|
| 71 |
|
| 72 |
-
### Foreign Lang TTS
|
| 73 |
-
|
| 74 |
-
This will produce the following [video](https://www.youtube.com/watch?v=UeJEAsKxRZU).
|
| 75 |
-
|
| 76 |
```
|
| 77 |
# git lfs pull # to download assets/ocr.jpg
|
| 78 |
python tts.py --text assets/ocr.txt --image assets/ocr.jpg --soundscape "battle hero" --voice romanian
|
|
@@ -82,7 +78,7 @@ python tts.py --text assets/ocr.txt --image assets/ocr.jpg --soundscape "battle
|
|
| 82 |
|
| 83 |
## Landscape 2 Soundscapes
|
| 84 |
|
| 85 |
-
The following needs `api.py` to be already running
|
| 86 |
|
| 87 |
```python
|
| 88 |
# TTS & soundscape - output .mp4 saved in ./out/
|
|
|
|
| 14 |
- mimic3
|
| 15 |
---
|
| 16 |
|
| 17 |
+
Audionar - Phonetic variation of StyleTTS2 blend to AudioGen SoundScapes
|
| 18 |
|
| 19 |
[](https://shift-europe.eu/)
|
| 20 |
|
|
|
|
| 45 |
</summary>
|
| 46 |
|
| 47 |
Above [TTS Demo](https://huggingface.co/dkounadis/artificial-styletts2/blob/main/demo.py) is a standalone script that loads TTS & AudioGen models and synthesizes a txt. We also provide a Flask `api.py` that allows faster inference with
|
| 48 |
+
loading only once TTS & [AudioGen](https://huggingface.co/dkounadis/artificial-styletts2/tree/main/audiocraft)
|
| 49 |
|
| 50 |
Clone
|
| 51 |
|
|
|
|
| 69 |
|
| 70 |
Following examples need `api.py` to be running. [Set this IP](https://huggingface.co/dkounadis/artificial-styletts2/blob/main/tts.py#L93) to the IP shown when starting `api.py`.
|
| 71 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
```
|
| 73 |
# git lfs pull # to download assets/ocr.jpg
|
| 74 |
python tts.py --text assets/ocr.txt --image assets/ocr.jpg --soundscape "battle hero" --voice romanian
|
|
|
|
| 78 |
|
| 79 |
## Landscape 2 Soundscapes
|
| 80 |
|
| 81 |
+
The following needs `api.py` to be already running.
|
| 82 |
|
| 83 |
```python
|
| 84 |
# TTS & soundscape - output .mp4 saved in ./out/
|