PoTaTo721 commited on
Commit
dea01c6
1 Parent(s): efef05d

Swin to soundfile

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -1,7 +1,4 @@
1
  import os
2
-
3
- os.environ["TORCHAUDIO_USE_FFMPEG"] = "1"
4
-
5
  import queue
6
  from huggingface_hub import snapshot_download
7
  import hydra
@@ -29,7 +26,7 @@ import librosa
29
  import torch
30
  import torchaudio
31
 
32
- torchaudio.set_audio_backend("ffmpeg")
33
 
34
  from loguru import logger
35
  from transformers import AutoTokenizer
 
1
  import os
 
 
 
2
  import queue
3
  from huggingface_hub import snapshot_download
4
  import hydra
 
26
  import torch
27
  import torchaudio
28
 
29
+ torchaudio.set_audio_backend("soundfile")
30
 
31
  from loguru import logger
32
  from transformers import AutoTokenizer