Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,9 @@
|
|
1 |
-
from pathlib import Path
|
2 |
import utils
|
3 |
from models import SynthesizerTrn
|
4 |
import torch
|
5 |
from torch import no_grad, LongTensor
|
6 |
-
import
|
7 |
-
|
8 |
-
import commons
|
9 |
-
import scipy.io.wavfile as wavf
|
10 |
-
import os
|
11 |
|
12 |
model_path = "./OUTPUT_MODEL/G_Amitaro.pth"
|
13 |
config_path = "./OUTPUT_MODEL/config.json"
|
|
|
|
|
1 |
import utils
|
2 |
from models import SynthesizerTrn
|
3 |
import torch
|
4 |
from torch import no_grad, LongTensor
|
5 |
+
from text import text_to_sequence
|
6 |
+
import gradio as gr
|
|
|
|
|
|
|
7 |
|
8 |
model_path = "./OUTPUT_MODEL/G_Amitaro.pth"
|
9 |
config_path = "./OUTPUT_MODEL/config.json"
|