Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,6 +30,7 @@ model, processor, vocoder = load_models()
|
|
30 |
|
31 |
# Load speaker embeddings
|
32 |
@st.cache_data
|
|
|
33 |
speaker_embeddings = np.load("cmu_us_slt_arctic-wav-arctic_a0508.npy")
|
34 |
return torch.tensor(speaker_embeddings).unsqueeze(0)
|
35 |
|
|
|
30 |
|
31 |
# Load speaker embeddings
|
32 |
@st.cache_data
|
33 |
+
def get_speaker_embeddings():
|
34 |
speaker_embeddings = np.load("cmu_us_slt_arctic-wav-arctic_a0508.npy")
|
35 |
return torch.tensor(speaker_embeddings).unsqueeze(0)
|
36 |
|