Vaibhav Srivastav
commited on
Commit
•
d636635
1
Parent(s):
73df86f
up
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def predict(prompt, language, audio_file_pth, agree):
|
|
16 |
|
17 |
return gr.make_waveform(
|
18 |
audio="output.wav",
|
19 |
-
)
|
20 |
else:
|
21 |
gr.Warning("Please accept the Terms & Condition!")
|
22 |
|
@@ -45,24 +45,24 @@ article = """
|
|
45 |
"""
|
46 |
|
47 |
examples = [
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
[
|
55 |
"Lorsque j'avais six ans j'ai vu, une fois, une magnifique image.",
|
56 |
"fr",
|
57 |
"examples/male.wav",
|
58 |
True
|
59 |
],
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
]
|
67 |
|
68 |
gr.Interface(
|
@@ -104,7 +104,6 @@ gr.Interface(
|
|
104 |
],
|
105 |
outputs=[
|
106 |
gr.Video(label="Synthesised Waveform"),
|
107 |
-
gr.Audio(label="Synthesised Audio"),
|
108 |
],
|
109 |
title=title,
|
110 |
description=description,
|
|
|
16 |
|
17 |
return gr.make_waveform(
|
18 |
audio="output.wav",
|
19 |
+
)
|
20 |
else:
|
21 |
gr.Warning("Please accept the Terms & Condition!")
|
22 |
|
|
|
45 |
"""
|
46 |
|
47 |
examples = [
|
48 |
+
[
|
49 |
+
"Once when I was six years old I saw a magnificent picture.",
|
50 |
+
"en",
|
51 |
+
"examples/female.wav",
|
52 |
+
True
|
53 |
+
],
|
54 |
[
|
55 |
"Lorsque j'avais six ans j'ai vu, une fois, une magnifique image.",
|
56 |
"fr",
|
57 |
"examples/male.wav",
|
58 |
True
|
59 |
],
|
60 |
+
[
|
61 |
+
"Un tempo lontano, quando avevo sei anni, vidi un magnifico disegno.",
|
62 |
+
"it",
|
63 |
+
"examples/female.wav",
|
64 |
+
True
|
65 |
+
],
|
66 |
]
|
67 |
|
68 |
gr.Interface(
|
|
|
104 |
],
|
105 |
outputs=[
|
106 |
gr.Video(label="Synthesised Waveform"),
|
|
|
107 |
],
|
108 |
title=title,
|
109 |
description=description,
|