ReallyFloppyPenguin Claude Opus 5.5 commited on
Commit
2ed55bb
·
verified ·
1 Parent(s): 3d29673

Add ZeroGPU stub so Space boots

Browse files

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +8 -0
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"