rajeshradhakrishnan commited on
Commit
60b42a9
1 Parent(s): cabb24a

corrected the input text to transalation

Browse files
Files changed (1) hide show
  1. static/script.js +1 -1
static/script.js CHANGED
@@ -70,7 +70,7 @@ async function getMessage(){
70
  // console.log(en_text_ml)
71
  console.log(prompterText)
72
  console.log(assistantText)
73
- outPutElement.textContent = await translateText(assistantText[0][0]);
74
  const pElement = document.createElement('p')
75
  pElement.textContent = inputElement.value
76
  pElement.addEventListener('click', () => changeInput(pElement.textContent))
 
70
  // console.log(en_text_ml)
71
  console.log(prompterText)
72
  console.log(assistantText)
73
+ outPutElement.textContent = await translateText(assistantText[0]);
74
  const pElement = document.createElement('p')
75
  pElement.textContent = inputElement.value
76
  pElement.addEventListener('click', () => changeInput(pElement.textContent))