Spaces:
Runtime error
Runtime error
te-ch
commited on
Commit
·
eb0f4fb
1
Parent(s):
1a43547
try with fn= new function
Browse files
app.py
CHANGED
@@ -33,6 +33,7 @@ NOTA: El model de col·lectivat treballa amb grafemes pel que no fa servir espea
|
|
33 |
article= ""
|
34 |
|
35 |
iface = gr.Interface(
|
|
|
36 |
inputs=[
|
37 |
gr.Textbox(
|
38 |
label="Text",
|
@@ -56,5 +57,5 @@ iface = gr.Interface(
|
|
56 |
["Visc al bosc i busco vesc i visc del vesc que busco al bosc", "ona", "ona"],
|
57 |
["Una polla xica, pica, pellarica, camatorta i becarica va tenir sis polls xics, pics, pellarics, camacurts i becarics. Si la polla no hagués sigut xica, pica, pellarica, camatorta i becarica, els sis polls no haurien sigut xics, pics, pellarics, camacurts i becarics.", "ona", "ona"]
|
58 |
]
|
59 |
-
)
|
60 |
iface.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
33 |
article= ""
|
34 |
|
35 |
iface = gr.Interface(
|
36 |
+
fn=phonemiser
|
37 |
inputs=[
|
38 |
gr.Textbox(
|
39 |
label="Text",
|
|
|
57 |
["Visc al bosc i busco vesc i visc del vesc que busco al bosc", "ona", "ona"],
|
58 |
["Una polla xica, pica, pellarica, camatorta i becarica va tenir sis polls xics, pics, pellarics, camacurts i becarics. Si la polla no hagués sigut xica, pica, pellarica, camatorta i becarica, els sis polls no haurien sigut xics, pics, pellarics, camacurts i becarics.", "ona", "ona"]
|
59 |
]
|
60 |
+
)
|
61 |
iface.launch(server_name="0.0.0.0", server_port=7860)
|