haoheliu commited on
Commit
11de0fa
·
verified ·
1 Parent(s): 2b33988

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -6,6 +6,7 @@ import soundfile as sf
6
  from audiosr import build_model, super_resolution, save_wave
7
  import tempfile
8
  import numpy as np
 
9
 
10
  # Set MPS device if available (for Mac M-Series GPUs)
11
  device = "cuda" if torch.cuda.is_available() else "cpu"
 
6
  from audiosr import build_model, super_resolution, save_wave
7
  import tempfile
8
  import numpy as np
9
+ import os
10
 
11
  # Set MPS device if available (for Mac M-Series GPUs)
12
  device = "cuda" if torch.cuda.is_available() else "cpu"