Spaces:
Runtime error
Runtime error
Commit
·
1890488
1
Parent(s):
72c260b
chore: add examples
Browse files
app.py
CHANGED
|
@@ -149,10 +149,14 @@ async def create_demo():
|
|
| 149 |
outputs=[
|
| 150 |
gr.Audio(label="Generated Audio"),
|
| 151 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 152 |
title="Cantonese TTS Text-to-Speech",
|
| 153 |
description=description,
|
| 154 |
analytics_enabled=False,
|
| 155 |
-
allow_flagging=False
|
| 156 |
)
|
| 157 |
return demo
|
| 158 |
|
|
|
|
| 149 |
outputs=[
|
| 150 |
gr.Audio(label="Generated Audio"),
|
| 151 |
],
|
| 152 |
+
examples=[
|
| 153 |
+
["漆黑之中我心眺望,不出一聲但兩眼發光\n寂寞極淒厲,晚風充滿汗,只因她幽怨目光"],
|
| 154 |
+
["本身我就係一個言出必達嘅人"],
|
| 155 |
+
],
|
| 156 |
title="Cantonese TTS Text-to-Speech",
|
| 157 |
description=description,
|
| 158 |
analytics_enabled=False,
|
| 159 |
+
allow_flagging=False,
|
| 160 |
)
|
| 161 |
return demo
|
| 162 |
|