jvalero commited on
Commit
804f975
1 Parent(s): a4e0bf3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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