leeshal commited on
Commit
95c1d8f
·
verified ·
1 Parent(s): f4a776c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -4,6 +4,11 @@ Gradio application (entry point for local runs and Hugging Face Spaces).
4
 
5
  python app.py -> http://127.0.0.1:7860
6
  """
 
 
 
 
 
7
  from __future__ import annotations
8
 
9
  import json
 
4
 
5
  python app.py -> http://127.0.0.1:7860
6
  """
7
+ import spaces
8
+
9
+ @spaces.GPU(duration=30)
10
+ def _zerogpu_check():
11
+ return True
12
  from __future__ import annotations
13
 
14
  import json