Update app.py
Browse files
app.py
CHANGED
@@ -6,12 +6,6 @@ import spaces
|
|
6 |
import yaml
|
7 |
|
8 |
|
9 |
-
#inference:
|
10 |
-
# file_path: "output.wav"
|
11 |
-
# speaker_wav: "content/speaker.wav"
|
12 |
-
# language: "en"
|
13 |
-
|
14 |
-
|
15 |
def get_config():
|
16 |
# get config path
|
17 |
config_path = os.environ["CONFIG_PATH"]
|
@@ -53,10 +47,7 @@ def main(config):
|
|
53 |
interface = gr.Interface(
|
54 |
fn=generate_speech,
|
55 |
inputs=[
|
56 |
-
gr.Textbox(label="Enter your text")
|
57 |
-
config
|
58 |
-
#gr.Textbox(label="Path to target speaker WAV file", value="/content/speaker.wav")
|
59 |
-
#gr.Dropdown(label="Language", choices=["en"], value="en")
|
60 |
],
|
61 |
outputs="audio",
|
62 |
title="Voice Synthesis with Coqui-XTTS",
|
|
|
6 |
import yaml
|
7 |
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
def get_config():
|
10 |
# get config path
|
11 |
config_path = os.environ["CONFIG_PATH"]
|
|
|
47 |
interface = gr.Interface(
|
48 |
fn=generate_speech,
|
49 |
inputs=[
|
50 |
+
gr.Textbox(label="Enter your text")
|
|
|
|
|
|
|
51 |
],
|
52 |
outputs="audio",
|
53 |
title="Voice Synthesis with Coqui-XTTS",
|