boazchung commited on
Commit
0624a6e
1 Parent(s): 4061877

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +3 -4
index.html CHANGED
@@ -22,9 +22,9 @@
22
  <!-- Hidden username field for accessibility -->
23
  <input
24
  type="text"
25
- style="display:none;" <!-- Hidden from view -->
26
- autocomplete="username" <!-- Helps password managers -->
27
- value="user" <!-- Dummy value, change as needed -->
28
  />
29
  <div>
30
  <label for="hf-token">Hugging Face Token (optional but limited if absent)</label>
@@ -44,7 +44,6 @@
44
  document.getElementById('hf-form').addEventListener('submit', async (event) => {
45
  event.preventDefault();
46
  const token = document.getElementById('hf-token').value;
47
- console.log(token);
48
  const hf = new HfInference(token);
49
 
50
  // You can also omit "model" to use the recommended model for the task
 
22
  <!-- Hidden username field for accessibility -->
23
  <input
24
  type="text"
25
+ style="display:none"
26
+ autocomplete="username"
27
+ value="user"
28
  />
29
  <div>
30
  <label for="hf-token">Hugging Face Token (optional but limited if absent)</label>
 
44
  document.getElementById('hf-form').addEventListener('submit', async (event) => {
45
  event.preventDefault();
46
  const token = document.getElementById('hf-token').value;
 
47
  const hf = new HfInference(token);
48
 
49
  // You can also omit "model" to use the recommended model for the task