Spaces:
Sleeping
Sleeping
Drop anon gen allowance to 1 to protect the ZeroGPU anon pool
Browse filesCo-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- static/index.html +1 -1
static/index.html
CHANGED
|
@@ -133,7 +133,7 @@
|
|
| 133 |
const [loggedIn, setLoggedIn] = React.useState(null);
|
| 134 |
// Anon users get ANON_GEN_LIMIT free gens before being gated to /login.
|
| 135 |
// Count persisted in localStorage so it survives reloads.
|
| 136 |
-
const ANON_GEN_LIMIT =
|
| 137 |
const [anonGenCount, setAnonGenCount] = React.useState(() => {
|
| 138 |
try { return parseInt(localStorage.getItem('action_anon_count') || '0', 10) || 0; } catch { return 0; }
|
| 139 |
});
|
|
|
|
| 133 |
const [loggedIn, setLoggedIn] = React.useState(null);
|
| 134 |
// Anon users get ANON_GEN_LIMIT free gens before being gated to /login.
|
| 135 |
// Count persisted in localStorage so it survives reloads.
|
| 136 |
+
const ANON_GEN_LIMIT = 1;
|
| 137 |
const [anonGenCount, setAnonGenCount] = React.useState(() => {
|
| 138 |
try { return parseInt(localStorage.getItem('action_anon_count') || '0', 10) || 0; } catch { return 0; }
|
| 139 |
});
|