Update custom_interface.py
Browse files- custom_interface.py +1 -1
custom_interface.py
CHANGED
@@ -83,5 +83,5 @@ class ASR(Pretrained):
|
|
83 |
batch = waveform.unsqueeze(0)
|
84 |
rel_length = torch.tensor([1.0]).to(device)
|
85 |
outputs = self.encode_batch(device, batch, rel_length)
|
86 |
-
outputs = "
|
87 |
return outputs
|
|
|
83 |
batch = waveform.unsqueeze(0)
|
84 |
rel_length = torch.tensor([1.0]).to(device)
|
85 |
outputs = self.encode_batch(device, batch, rel_length)
|
86 |
+
outputs = "".join(outputs[0])
|
87 |
return outputs
|