demo
Browse files
app.py
CHANGED
@@ -19,6 +19,7 @@ speaker_embeddings = {
|
|
19 |
}
|
20 |
|
21 |
|
|
|
22 |
def predict(text, speaker):
|
23 |
if len(text.strip()) == 0:
|
24 |
return (16000, np.zeros(0).astype(np.int16))
|
|
|
19 |
}
|
20 |
|
21 |
|
22 |
+
@spaces.GPU
|
23 |
def predict(text, speaker):
|
24 |
if len(text.strip()) == 0:
|
25 |
return (16000, np.zeros(0).astype(np.int16))
|