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