Spaces:
Running
Running
Update infer.py
Browse files
infer.py
CHANGED
@@ -129,7 +129,7 @@ def infer(
|
|
129 |
emo = emo.to(device).unsqueeze(0)
|
130 |
del phones
|
131 |
|
132 |
-
print([hps.data.spk2id
|
133 |
|
134 |
speakers = torch.LongTensor([hps.data.spk2id[sid]]).to(device)
|
135 |
print(text)
|
|
|
129 |
emo = emo.to(device).unsqueeze(0)
|
130 |
del phones
|
131 |
|
132 |
+
print([hps.data.spk2id]);
|
133 |
|
134 |
speakers = torch.LongTensor([hps.data.spk2id[sid]]).to(device)
|
135 |
print(text)
|