Spaces:
Running
Running
Update index.html
Browse files- 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
|
26 |
-
autocomplete="username"
|
27 |
-
value="user"
|
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
|