Spaces:
Runtime error
Runtime error
added audio input
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import json
|
|
7 |
|
8 |
DEBUG_MODE = False
|
9 |
TITLE = "《★~ N.N.F. Text To Speech V2 ~★ 》"
|
10 |
-
FAVICON = "https://aeiljuispo.cloudimg.io/v7/https://cdn-uploads.huggingface.co/production/uploads/65b453089151075ad87382ea/9NpWGb4xBrZovX1o7DF-5.jpeg"
|
11 |
|
12 |
INPUT_TEXT_PROMPT_EXAMPLE="""
|
13 |
Não sou nada,
|
@@ -57,12 +57,12 @@ io = gr.Interface(
|
|
57 |
#max_choices=1,
|
58 |
value="pt",
|
59 |
),
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
],
|
67 |
outputs=[
|
68 |
#gr.Video(label="Waveform Visual"),
|
|
|
7 |
|
8 |
DEBUG_MODE = False
|
9 |
TITLE = "《★~ N.N.F. Text To Speech V2 ~★ 》"
|
10 |
+
#FAVICON = "https://aeiljuispo.cloudimg.io/v7/https://cdn-uploads.huggingface.co/production/uploads/65b453089151075ad87382ea/9NpWGb4xBrZovX1o7DF-5.jpeg"
|
11 |
|
12 |
INPUT_TEXT_PROMPT_EXAMPLE="""
|
13 |
Não sou nada,
|
|
|
57 |
#max_choices=1,
|
58 |
value="pt",
|
59 |
),
|
60 |
+
gr.Audio(
|
61 |
+
#label="Reference Audio",
|
62 |
+
#info="Click on the ✎ button to upload your own target speaker audio",
|
63 |
+
#type="filepath",
|
64 |
+
#value="examples/female.wav",
|
65 |
+
),
|
66 |
],
|
67 |
outputs=[
|
68 |
#gr.Video(label="Waveform Visual"),
|