Spaces:
Runtime error
Runtime error
NTT123
commited on
Commit
•
75363d3
1
Parent(s):
d1a84ee
install bazelisk using npm
Browse files
app.py
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
import gradio as gr
|
2 |
import os
|
3 |
|
4 |
-
|
5 |
## build wavegru-cpp
|
6 |
-
os.system("
|
7 |
os.system("bazelisk build wavegru_mod -c opt --copt=-march=native")
|
8 |
|
9 |
-
from inference import load_tacotron_model, load_wavegru_net, text_to_mel, mel_to_wav
|
10 |
-
from wavegru_cpp import load_wavegru_cpp, extract_weight_mask
|
11 |
|
|
|
|
|
|
|
|
|
12 |
|
13 |
alphabet, tacotron_net, tacotron_config = load_tacotron_model(
|
14 |
"./alphabet.txt", "./tacotron.toml", "./pretrained_model_ljs_500k.ckpt"
|
|
|
|
|
1 |
import os
|
2 |
|
|
|
3 |
## build wavegru-cpp
|
4 |
+
os.system("npm install -g @bazel/bazelisk")
|
5 |
os.system("bazelisk build wavegru_mod -c opt --copt=-march=native")
|
6 |
|
|
|
|
|
7 |
|
8 |
+
import gradio as gr
|
9 |
+
|
10 |
+
from inference import load_tacotron_model, load_wavegru_net, mel_to_wav, text_to_mel
|
11 |
+
from wavegru_cpp import extract_weight_mask, load_wavegru_cpp
|
12 |
|
13 |
alphabet, tacotron_net, tacotron_config = load_tacotron_model(
|
14 |
"./alphabet.txt", "./tacotron.toml", "./pretrained_model_ljs_500k.ckpt"
|