Spaces:
Runtime error
Runtime error
gmerrill
commited on
Commit
·
71a4bbf
1
Parent(s):
724e641
update
Browse files- static/script.js +1 -1
static/script.js
CHANGED
@@ -13,7 +13,7 @@ const translateText = async (text) => {
|
|
13 |
);
|
14 |
const inferJson = await inferResponse.json();
|
15 |
|
16 |
-
return inferJson
|
17 |
};
|
18 |
|
19 |
textGenForm.addEventListener('submit', async (event) => {
|
|
|
13 |
);
|
14 |
const inferJson = await inferResponse.json();
|
15 |
|
16 |
+
return JSON.stringify(inferJson);
|
17 |
};
|
18 |
|
19 |
textGenForm.addEventListener('submit', async (event) => {
|