Spaces:
Running
on
A10G
Running
on
A10G
Using ffmpeg instead of sox
Browse files
app.py
CHANGED
@@ -24,6 +24,10 @@ from functools import partial
|
|
24 |
import gradio as gr
|
25 |
import librosa
|
26 |
import torch
|
|
|
|
|
|
|
|
|
27 |
from loguru import logger
|
28 |
from transformers import AutoTokenizer
|
29 |
|
|
|
24 |
import gradio as gr
|
25 |
import librosa
|
26 |
import torch
|
27 |
+
import torchaudio
|
28 |
+
|
29 |
+
torchaudio.set_audio_backend("ffmpeg")
|
30 |
+
|
31 |
from loguru import logger
|
32 |
from transformers import AutoTokenizer
|
33 |
|