Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
@@ -97,7 +97,7 @@
|
|
97 |
event.preventDefault();
|
98 |
const text = document.getElementById("embed-input").value;
|
99 |
fetch(hfApiUrl + "embed", {
|
100 |
-
method: "
|
101 |
headers: {
|
102 |
"Content-Type": "application/json"
|
103 |
},
|
@@ -114,7 +114,7 @@
|
|
114 |
const text = document.getElementById("search-input").value;
|
115 |
const n = document.getElementById("n-input").value;
|
116 |
fetch(hfApiUrl + "search", {
|
117 |
-
method: "
|
118 |
headers: {
|
119 |
"Content-Type": "application/json"
|
120 |
},
|
|
|
97 |
event.preventDefault();
|
98 |
const text = document.getElementById("embed-input").value;
|
99 |
fetch(hfApiUrl + "embed", {
|
100 |
+
method: "POST",
|
101 |
headers: {
|
102 |
"Content-Type": "application/json"
|
103 |
},
|
|
|
114 |
const text = document.getElementById("search-input").value;
|
115 |
const n = document.getElementById("n-input").value;
|
116 |
fetch(hfApiUrl + "search", {
|
117 |
+
method: "POST",
|
118 |
headers: {
|
119 |
"Content-Type": "application/json"
|
120 |
},
|