Slackbot
10/11/2022, 3:26 AM이호민
10/11/2022, 3:30 AMsauyon
10/11/2022, 3:50 AM이호민
10/11/2022, 3:59 AM@svc.api(input=File(), output=Text())
def transcribe(data):
arr_data, sr = sf.read(file=io.BytesIO(data.read()), dtype="float32")
# arr_data = wavfile.read(io.BytesIO(data.read()))[1]
audio = torch.from_numpy(arr_data[..., 0].copy()).float()
When you use this code, it is different from the value read by local.sauyon
10/11/2022, 4:00 AM이호민
10/11/2022, 7:14 AMsauyon
10/11/2022, 7:15 AM이호민
10/11/2022, 7:15 AMsauyon
10/11/2022, 7:16 AM이호민
10/11/2022, 7:17 AM