Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,8 @@ else:
|
|
| 19 |
|
| 20 |
|
| 21 |
try:
|
| 22 |
-
|
|
|
|
| 23 |
except ImportError:
|
| 24 |
# Define a no-op decorator if running locally
|
| 25 |
def GPU(func):
|
|
|
|
| 19 |
|
| 20 |
|
| 21 |
try:
|
| 22 |
+
import spaces
|
| 23 |
+
GPU = spaces.GPU
|
| 24 |
except ImportError:
|
| 25 |
# Define a no-op decorator if running locally
|
| 26 |
def GPU(func):
|