Spaces:
Sleeping
Sleeping
Vaibhav Srivastav
commited on
Commit
•
5bf95a7
1
Parent(s):
96f76e3
up
Browse files- app.py +3 -2
- examples/.DS_Store +0 -0
- examples/female.wav +0 -3
- examples/male.wav +0 -3
app.py
CHANGED
@@ -5,7 +5,7 @@ tts = TTS("tts_models/multilingual/multi-dataset/xtts_v1")
|
|
5 |
tts.to("cuda")
|
6 |
|
7 |
|
8 |
-
def predict(prompt, language, audio_file_pth):
|
9 |
tts.tts_to_file(
|
10 |
text=prompt,
|
11 |
file_path="output.wav",
|
@@ -94,6 +94,7 @@ gr.Interface(
|
|
94 |
type="filepath",
|
95 |
value="examples/female.wav",
|
96 |
),
|
|
|
97 |
],
|
98 |
outputs=[
|
99 |
gr.Video(label="Synthesised Waveform"),
|
@@ -102,5 +103,5 @@ gr.Interface(
|
|
102 |
title=title,
|
103 |
description=description,
|
104 |
article=article,
|
105 |
-
examples=examples,
|
106 |
).queue().launch(debug=True)
|
|
|
5 |
tts.to("cuda")
|
6 |
|
7 |
|
8 |
+
def predict(prompt, language, audio_file_pth, agree):
|
9 |
tts.tts_to_file(
|
10 |
text=prompt,
|
11 |
file_path="output.wav",
|
|
|
94 |
type="filepath",
|
95 |
value="examples/female.wav",
|
96 |
),
|
97 |
+
gr.Checkbox(label="Agree", value=True, info="I agree to the terms of the Coqui Public Model License at https://coqui.ai/cpml")
|
98 |
],
|
99 |
outputs=[
|
100 |
gr.Video(label="Synthesised Waveform"),
|
|
|
103 |
title=title,
|
104 |
description=description,
|
105 |
article=article,
|
106 |
+
# examples=examples,
|
107 |
).queue().launch(debug=True)
|
examples/.DS_Store
CHANGED
Binary files a/examples/.DS_Store and b/examples/.DS_Store differ
|
|
examples/female.wav
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:89a4fa9a16b6463f852cf9424f72c3d3c87aa83010e89db534c53fcd1ae12c02
|
3 |
-
size 1002030
|
|
|
|
|
|
|
|
examples/male.wav
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:937c74afad004937e00d1687c68e02210e0c5d93ac072a7c8aeb9ab573517bb1
|
3 |
-
size 762126
|
|
|
|
|
|
|
|