Update app.py
Browse files
app.py
CHANGED
@@ -54,6 +54,13 @@ def text2audio(
|
|
54 |
waveform = waveform[0]
|
55 |
return waveform
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
css = """
|
58 |
a {
|
59 |
color: inherit;
|
@@ -299,14 +306,14 @@ with iface:
|
|
299 |
)
|
300 |
gr.Examples(
|
301 |
[
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
[
|
311 |
"A modern synthesizer creating futuristic soundscapes.",
|
312 |
10,
|
|
|
54 |
waveform = waveform[0]
|
55 |
return waveform
|
56 |
|
57 |
+
text_to_audio("Birds singing sweetly in a blooming garden.",
|
58 |
+
10,
|
59 |
+
3.5,
|
60 |
+
45,
|
61 |
+
3,
|
62 |
+
default_checkpoint)
|
63 |
+
|
64 |
css = """
|
65 |
a {
|
66 |
color: inherit;
|
|
|
306 |
)
|
307 |
gr.Examples(
|
308 |
[
|
309 |
+
[
|
310 |
+
"Birds singing sweetly in a blooming garden.",
|
311 |
+
10,
|
312 |
+
3.5,
|
313 |
+
45,
|
314 |
+
3,
|
315 |
+
default_checkpoint,
|
316 |
+
],
|
317 |
[
|
318 |
"A modern synthesizer creating futuristic soundscapes.",
|
319 |
10,
|