fordnox commited on
Commit
c352cab
·
verified ·
1 Parent(s): 2dedb93

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. app.css +0 -2
  2. index.html +2 -5
app.css CHANGED
@@ -166,8 +166,6 @@ body {
166
  color: var(--text-primary);
167
  font: var(--weight-regular) var(--text-xs)/1 var(--font-mono);
168
  }
169
- .masked { -webkit-text-security: disc; text-security: disc; }
170
- .masked:placeholder-shown { -webkit-text-security: none; text-security: none; }
171
 
172
  /* ── layout ──────────────────────────────────────────────────────── */
173
  .layout {
 
166
  color: var(--text-primary);
167
  font: var(--weight-regular) var(--text-xs)/1 var(--font-mono);
168
  }
 
 
169
 
170
  /* ── layout ──────────────────────────────────────────────────────── */
171
  .layout {
index.html CHANGED
@@ -42,11 +42,8 @@
42
  <label for="token">access token</label>
43
  <span class="inputwrap">
44
  <i class="ri-key-2-line" aria-hidden="true"></i>
45
- <!-- Masked via -webkit-text-security rather than type="password": a real
46
- password field on a branded page that is not harvis.dev trips Chrome's
47
- phishing classifier. An HF access token is not a password. -->
48
- <input id="token" type="text" inputmode="text" autocomplete="off" spellcheck="false"
49
- class="masked" placeholder="hf_… — huggingface.co/settings/tokens">
50
  </span>
51
  <button id="tokensave" class="btn btn-secondary btn-sm" type="button">Save</button>
52
  <span class="hint">Stored in this browser. Sent only to the Hugging Face router.</span>
 
42
  <label for="token">access token</label>
43
  <span class="inputwrap">
44
  <i class="ri-key-2-line" aria-hidden="true"></i>
45
+ <input id="token" type="password" autocomplete="off" spellcheck="false"
46
+ placeholder="hf_… — huggingface.co/settings/tokens">
 
 
 
47
  </span>
48
  <button id="tokensave" class="btn btn-secondary btn-sm" type="button">Save</button>
49
  <span class="hint">Stored in this browser. Sent only to the Hugging Face router.</span>