Update app.py
Browse files
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"
|