Spaces:
Running
on
Zero
Running
on
Zero
missing import
Browse files
app.py
CHANGED
@@ -12,6 +12,7 @@ from pydub import AudioSegment
|
|
12 |
import spaces
|
13 |
import tempfile
|
14 |
from pydub import AudioSegment
|
|
|
15 |
|
16 |
# Check if CUDA is available
|
17 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
|
12 |
import spaces
|
13 |
import tempfile
|
14 |
from pydub import AudioSegment
|
15 |
+
import io
|
16 |
|
17 |
# Check if CUDA is available
|
18 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|