Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
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
|