Spaces:
Sleeping
Sleeping
Thomas
commited on
Commit
·
1fde6d2
1
Parent(s):
cfec97a
make demo
Browse files- app.py +10 -0
- packages.txt +5 -0
- requirements.txt +25 -0
app.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
|
3 |
+
os.system("git clone https://github.com/Thommy96/IMS-Toucan.git toucan_codebase")
|
4 |
+
os.system("mv toucan_codebase/* .")
|
5 |
+
|
6 |
+
from run_model_downloader import download_models
|
7 |
+
from run_gradio_demo import TTSWebUI
|
8 |
+
|
9 |
+
download_models()
|
10 |
+
TTSWebUI(gpu_id="cpu", title="Prosodic Controllability Through Natural Language Prompts", article="The proposed TTS system takes advantage of natural language prompts for enhanced prosody control. By conditioning the generation process on these prompts, the goal is to achieve more expressive and contextually appropriate speech output. Thereby the produced speech prosody is expected to rely on the (emotional) content of the prompt.")
|
packages.txt
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
libsndfile1
|
2 |
+
espeak-ng
|
3 |
+
ffmpeg
|
4 |
+
libasound-dev
|
5 |
+
libportaudio2
|
requirements.txt
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
torch_complex~=0.4.3
|
2 |
+
tqdm~=4.64.1
|
3 |
+
scipy~=1.9.3
|
4 |
+
librosa~=0.9.2
|
5 |
+
scikit-learn~=1.1.3
|
6 |
+
praat-parselmouth~=0.4.2
|
7 |
+
torch~=2.0.0
|
8 |
+
numpy~=1.23.4
|
9 |
+
torchaudio~=2.0.0
|
10 |
+
soundfile~=0.11.0
|
11 |
+
urllib3~=1.26.12
|
12 |
+
pypinyin~=0.47.1
|
13 |
+
pyloudnorm~=0.1.0
|
14 |
+
numba~=0.56.4
|
15 |
+
cvxopt~=1.3.0
|
16 |
+
sounddevice~=0.4.5
|
17 |
+
matplotlib~=3.6.2
|
18 |
+
phonemizer~=3.2.1
|
19 |
+
gradio~=3.40.1
|
20 |
+
wandb~=0.13.5
|
21 |
+
speechbrain~=0.5.13
|
22 |
+
dragonmapper~=0.2.6
|
23 |
+
auraloss~=0.2.2
|
24 |
+
alias_free_torch~=0.0.6
|
25 |
+
pandas
|