Spaces:
Runtime error
Runtime error
aleegr10
commited on
Commit
·
fff53af
1
Parent(s):
5fa1d66
update
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def modelo3En(text):
|
|
49 |
|
50 |
speech = model.generate_speech(inputs["input_ids"], speaker_embeddings, vocoder=vocoder)
|
51 |
|
52 |
-
return
|
53 |
|
54 |
|
55 |
def modelo3Es(text):
|
@@ -64,7 +64,7 @@ def modelo3Es(text):
|
|
64 |
|
65 |
speech = model.generate_speech(inputs["input_ids"], speaker_embeddings, vocoder=vocoder)
|
66 |
|
67 |
-
return
|
68 |
|
69 |
|
70 |
def executionIMG(image, lan):
|
|
|
49 |
|
50 |
speech = model.generate_speech(inputs["input_ids"], speaker_embeddings, vocoder=vocoder)
|
51 |
|
52 |
+
return (16000, speech.cpu().numpy())
|
53 |
|
54 |
|
55 |
def modelo3Es(text):
|
|
|
64 |
|
65 |
speech = model.generate_speech(inputs["input_ids"], speaker_embeddings, vocoder=vocoder)
|
66 |
|
67 |
+
return (16000, speech.cpu().numpy())
|
68 |
|
69 |
|
70 |
def executionIMG(image, lan):
|