Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,11 +6,6 @@ import gradio as gr
|
|
6 |
import soundfile as sf
|
7 |
import torch
|
8 |
|
9 |
-
import sys
|
10 |
-
import os
|
11 |
-
|
12 |
-
sys.path.append(os.path.abspath('/home/user/app/'))
|
13 |
-
|
14 |
from matcha.cli import (
|
15 |
MATCHA_URLS,
|
16 |
VOCODER_URLS,
|
@@ -43,13 +38,13 @@ def VOCODER_LOC(x):
|
|
43 |
return LOCATION / f"{x}"
|
44 |
|
45 |
|
46 |
-
LOGO_URL = "https://
|
47 |
RADIO_OPTIONS = {
|
48 |
"Multi Speaker (VCTK)": {
|
49 |
"model": "matcha_vctk",
|
50 |
"vocoder": "hifigan_univ_v1",
|
51 |
},
|
52 |
-
"Single Speaker (
|
53 |
"model": "akyl_ai",
|
54 |
"vocoder": "hifigan_T2_v1",
|
55 |
},
|
|
|
6 |
import soundfile as sf
|
7 |
import torch
|
8 |
|
|
|
|
|
|
|
|
|
|
|
9 |
from matcha.cli import (
|
10 |
MATCHA_URLS,
|
11 |
VOCODER_URLS,
|
|
|
38 |
return LOCATION / f"{x}"
|
39 |
|
40 |
|
41 |
+
LOGO_URL = "https://github.com/simonlobgromov/Matcha-TTS/blob/main/photo_2024-04-07_15-59-52.png"
|
42 |
RADIO_OPTIONS = {
|
43 |
"Multi Speaker (VCTK)": {
|
44 |
"model": "matcha_vctk",
|
45 |
"vocoder": "hifigan_univ_v1",
|
46 |
},
|
47 |
+
"Single Speaker (Akyl_AI)": {
|
48 |
"model": "akyl_ai",
|
49 |
"vocoder": "hifigan_T2_v1",
|
50 |
},
|