Spaces:
Runtime error
Runtime error
divakaivan
commited on
fix typo
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ def predict(text, speaker):
|
|
137 |
|
138 |
### ### ###
|
139 |
example = dataset['test'][11]
|
140 |
-
|
141 |
|
142 |
speaker_embedding = torch.tensor(speaker_embedding).unsqueeze(0)
|
143 |
|
|
|
137 |
|
138 |
### ### ###
|
139 |
example = dataset['test'][11]
|
140 |
+
speaker_embedding = torch.tensor(example["speaker_embeddings"]).unsqueeze(0)
|
141 |
|
142 |
speaker_embedding = torch.tensor(speaker_embedding).unsqueeze(0)
|
143 |
|