Spaces:
Sleeping
Sleeping
Commit
·
c09391d
1
Parent(s):
c93b200
Update static/script.js
Browse files- static/script.js +1 -0
static/script.js
CHANGED
@@ -9,6 +9,7 @@ const translateText = async (text) => {
|
|
9 |
},
|
10 |
body: JSON.stringify({'input': text})
|
11 |
};
|
|
|
12 |
const inferResponse = await fetch(`infer_chatgpt`, settings);
|
13 |
const inferJson = await inferResponse.json();
|
14 |
|
|
|
9 |
},
|
10 |
body: JSON.stringify({'input': text})
|
11 |
};
|
12 |
+
console.log(settings);
|
13 |
const inferResponse = await fetch(`infer_chatgpt`, settings);
|
14 |
const inferJson = await inferResponse.json();
|
15 |
|