Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,8 @@ def merge(x):
|
|
| 7 |
return "".join(x)
|
| 8 |
|
| 9 |
def processor(text: str)
|
| 10 |
-
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
iface = gr.Interface(
|
|
|
|
| 7 |
return "".join(x)
|
| 8 |
|
| 9 |
def processor(text: str)
|
| 10 |
+
_, phones = phonemize(text)
|
| 11 |
+
return " ".join(map(merge, phones))
|
| 12 |
|
| 13 |
|
| 14 |
iface = gr.Interface(
|