multimodalart HF Staff Claude Opus 4.8 (1M context) commited on
Commit
32bf5d3
·
1 Parent(s): ed26441

Guest quota is 3 free runs, not 1 — update messaging

Browse files

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -1053,7 +1053,7 @@ pre {
1053
  <!-- Guest CTA (shown when logged out) -->
1054
  <div class="guest-cta" id="guest-cta" style="display:none">
1055
  <div class="guest-cta-title">You're in guest mode</div>
1056
- <div class="guest-cta-sub">1 free run to try it out. Sign in with Hugging Face for the full free ZeroGPU quota.</div>
1057
  <button class="btn-hf btn-hf-sm guest-cta-btn" onclick="login()">🤗 Sign in with Hugging Face</button>
1058
  </div>
1059
 
@@ -1930,7 +1930,7 @@ function quotaErrorBodyHtml(errMsg) {
1930
  // Guest hit the anonymous single-run quota — offer a free HF sign-in, which
1931
  // unlocks the full free daily ZeroGPU quota. No paid upsell for guests.
1932
  if (!accessToken) {
1933
- return `<div class="status-text">You've used your free guest run. Sign in with Hugging Face to keep going — it's free.</div>
1934
  <button class="status-cta upgrade" type="button" onclick="login()">🤗 Sign in with Hugging Face to continue for free</button>
1935
  <div style="font-size:11px;color:var(--text-muted);margin-top:2px">A free HF account unlocks the full daily ZeroGPU quota</div>`;
1936
  }
 
1053
  <!-- Guest CTA (shown when logged out) -->
1054
  <div class="guest-cta" id="guest-cta" style="display:none">
1055
  <div class="guest-cta-title">You're in guest mode</div>
1056
+ <div class="guest-cta-sub">3 free runs to try it out. Sign in with Hugging Face for the full free ZeroGPU quota.</div>
1057
  <button class="btn-hf btn-hf-sm guest-cta-btn" onclick="login()">🤗 Sign in with Hugging Face</button>
1058
  </div>
1059
 
 
1930
  // Guest hit the anonymous single-run quota — offer a free HF sign-in, which
1931
  // unlocks the full free daily ZeroGPU quota. No paid upsell for guests.
1932
  if (!accessToken) {
1933
+ return `<div class="status-text">You've used all 3 free guest runs. Sign in with Hugging Face to keep going — it's free.</div>
1934
  <button class="status-cta upgrade" type="button" onclick="login()">🤗 Sign in with Hugging Face to continue for free</button>
1935
  <div style="font-size:11px;color:var(--text-muted);margin-top:2px">A free HF account unlocks the full daily ZeroGPU quota</div>`;
1936
  }