Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ from transformers.pipelines.audio_utils import ffmpeg_read
|
|
5 |
import gradio as gr
|
6 |
import gradio as gr
|
7 |
|
|
|
8 |
|
9 |
MODEL_ID = "wav2vec2-base-vinyl_condition"
|
10 |
|
|
|
5 |
import gradio as gr
|
6 |
import gradio as gr
|
7 |
|
8 |
+
device = 0 if torch.cuda.is_available() else "cpu"
|
9 |
|
10 |
MODEL_ID = "wav2vec2-base-vinyl_condition"
|
11 |
|