gmerrill commited on
Commit
ebb3e6c
·
1 Parent(s): 83b990b
Files changed (1) hide show
  1. static/script.js +1 -1
static/script.js CHANGED
@@ -24,7 +24,7 @@ textGenForm.addEventListener('submit', async (event) => {
24
 
25
  try {
26
  textGenParagraph.textContent = "Awaiting response ...";
27
- txtResp = await translateText(textGenInput.value);
28
  console.info(txtResp)
29
  textGenParagraph.textContent = JSON.parse(txtResp).val
30
  } catch (err) {
 
24
 
25
  try {
26
  textGenParagraph.textContent = "Awaiting response ...";
27
+ const txtResp = await translateText(textGenInput.value);
28
  console.info(txtResp)
29
  textGenParagraph.textContent = JSON.parse(txtResp).val
30
  } catch (err) {