andre-coy commited on
Commit
2b8c0da
โ€ข
1 Parent(s): 8ba5bb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def predict(text, speaker):
45
  x[x == 0] = -1.0
46
  speaker_embedding *= x
47
 
48
- #speaker_embedding = np.random.rand(512).astype(np.float32) * 0.3 - 0.15
49
  else:
50
  speaker_embedding = np.load(speaker_embeddings[speaker[:3]])
51
 
 
45
  x[x == 0] = -1.0
46
  speaker_embedding *= x
47
 
48
+ speaker_embedding = np.random.rand(512).astype(np.float32) * 0.3 - 0.15
49
  else:
50
  speaker_embedding = np.load(speaker_embeddings[speaker[:3]])
51