Spaces:
Runtime error
Runtime error
add cors
Browse files- templates/index.html +0 -1
templates/index.html
CHANGED
@@ -191,7 +191,6 @@
|
|
191 |
const fetchSettings = {
|
192 |
method: 'POST',
|
193 |
body: JSON.stringify({"input_text": jsonfile}),
|
194 |
-
mode: 'no-cors',
|
195 |
headers: new Headers({
|
196 |
"content-type": "application/json"
|
197 |
})
|
|
|
191 |
const fetchSettings = {
|
192 |
method: 'POST',
|
193 |
body: JSON.stringify({"input_text": jsonfile}),
|
|
|
194 |
headers: new Headers({
|
195 |
"content-type": "application/json"
|
196 |
})
|