Nag189 commited on
Commit
18d8a13
1 Parent(s): 587b007

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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