Spaces:
Running on Zero
Running on Zero
Add ZeroGPU stub so Space boots
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -1,4 +1,12 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
SYSTEM_PROMPT = (
|
| 4 |
"Use only the Three.js core ES module from\n"
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
import spaces
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
# ponytail: never called; ZeroGPU hardware refuses to boot without one @spaces.GPU function. Delete if the Space moves
|
| 6 |
+
# to cpu-basic (needs PRO to downgrade).
|
| 7 |
+
@spaces.GPU
|
| 8 |
+
def _zerogpu_stub():
|
| 9 |
+
pass
|
| 10 |
|
| 11 |
SYSTEM_PROMPT = (
|
| 12 |
"Use only the Three.js core ES module from\n"
|