Spaces:
Running
on
Zero
Running
on
Zero
improve UI
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
HUGGINGFACE_SPACE = True
|
| 4 |
BATCH_SIZE = 4
|
| 5 |
|
| 6 |
-
if HUGGINGFACE_SPACE: # huggingface ZeroGPU, dynamic GPU allocation
|
| 7 |
try:
|
| 8 |
import spaces
|
| 9 |
except ImportError:
|
|
|
|
| 3 |
HUGGINGFACE_SPACE = True
|
| 4 |
BATCH_SIZE = 4
|
| 5 |
|
| 6 |
+
if HUGGINGFACE_SPACE: # huggingface ZeroGPU, dynamic GPU allocation
|
| 7 |
try:
|
| 8 |
import spaces
|
| 9 |
except ImportError:
|