Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ def _check_quota(required_sec: int):
|
|
107 |
Raises RuntimeError if not enough.
|
108 |
"""
|
109 |
remaining = int(os.getenv("ZEROGPU_REMAINING", "0"))
|
110 |
-
print(os.
|
111 |
if remaining < required_sec:
|
112 |
raise RuntimeError(
|
113 |
f"Insufficient ZeroGPU quota: need {required_sec}s but only {remaining}s left.\n"
|
|
|
107 |
Raises RuntimeError if not enough.
|
108 |
"""
|
109 |
remaining = int(os.getenv("ZEROGPU_REMAINING", "0"))
|
110 |
+
print(os.environ)
|
111 |
if remaining < required_sec:
|
112 |
raise RuntimeError(
|
113 |
f"Insufficient ZeroGPU quota: need {required_sec}s but only {remaining}s left.\n"
|