gmerrill commited on
Commit
71a4bbf
·
1 Parent(s): 724e641
Files changed (1) hide show
  1. 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.output;
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) => {