Spaces:
Running on Zero
Running on Zero
Import spaces before anything that initializes CUDA.
Browse files
app.py
CHANGED
|
@@ -5,6 +5,8 @@ The pipeline is vendored from the authors' Space (ACE-Step/ACE-Step), which inst
|
|
| 5 |
from PyPI, and runs here on ZeroGPU rather than being called over the network.
|
| 6 |
"""
|
| 7 |
|
|
|
|
|
|
|
| 8 |
import tempfile
|
| 9 |
|
| 10 |
import gradio as gr
|
|
|
|
| 5 |
from PyPI, and runs here on ZeroGPU rather than being called over the network.
|
| 6 |
"""
|
| 7 |
|
| 8 |
+
import spaces # imported before torch, as ZeroGPU requires
|
| 9 |
+
|
| 10 |
import tempfile
|
| 11 |
|
| 12 |
import gradio as gr
|