Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -61,8 +61,8 @@ function refresh() {
|
|
61 |
}
|
62 |
}
|
63 |
"""
|
64 |
-
|
65 |
-
|
66 |
["./Examples/David Attenborough.wav",
|
67 |
"An understanding of the natural world is a source of not only great curiosity, but great fulfilment.",
|
68 |
1, 0.2, 0.5, 1, 200],
|
@@ -80,8 +80,8 @@ def get_example():
|
|
80 |
["./Examples/Furina.ogg",
|
81 |
"That's more like it! As expected, my dazzling side comes through in any situation.",
|
82 |
1, 0.2, 0.8, 2, 200]
|
83 |
-
|
84 |
-
|
85 |
|
86 |
theme = gr.themes.Soft(
|
87 |
primary_hue=gr.themes.Color(c100="#ffd7d1", c200="#ff593e", c300="#ff593e", c400="#ff593e", c50="#fff0f0",
|
@@ -234,7 +234,7 @@ with gr.Blocks(theme=theme, js=js_func) as clone:
|
|
234 |
clbtn.click(generate, inputs=[voice, inp, speed, alpha, beta, embscale, steps], outputs=[claudio],
|
235 |
concurrency_limit=15)
|
236 |
|
237 |
-
gr.Examples(examples=
|
238 |
inputs=[voice, inp, speed, alpha, beta, embscale, steps],
|
239 |
outputs=[claudio],
|
240 |
fn=generate,
|
|
|
61 |
}
|
62 |
}
|
63 |
"""
|
64 |
+
|
65 |
+
examples = [
|
66 |
["./Examples/David Attenborough.wav",
|
67 |
"An understanding of the natural world is a source of not only great curiosity, but great fulfilment.",
|
68 |
1, 0.2, 0.5, 1, 200],
|
|
|
80 |
["./Examples/Furina.ogg",
|
81 |
"That's more like it! As expected, my dazzling side comes through in any situation.",
|
82 |
1, 0.2, 0.8, 2, 200]
|
83 |
+
]
|
84 |
+
|
85 |
|
86 |
theme = gr.themes.Soft(
|
87 |
primary_hue=gr.themes.Color(c100="#ffd7d1", c200="#ff593e", c300="#ff593e", c400="#ff593e", c50="#fff0f0",
|
|
|
234 |
clbtn.click(generate, inputs=[voice, inp, speed, alpha, beta, embscale, steps], outputs=[claudio],
|
235 |
concurrency_limit=15)
|
236 |
|
237 |
+
gr.Examples(examples=examples,
|
238 |
inputs=[voice, inp, speed, alpha, beta, embscale, steps],
|
239 |
outputs=[claudio],
|
240 |
fn=generate,
|