malaknihed commited on
Commit
9b48093
·
verified ·
1 Parent(s): 7c9b28b

Update static/script.js

Browse files
Files changed (1) hide show
  1. static/script.js +1 -1
static/script.js CHANGED
@@ -1157,7 +1157,7 @@ interpretButton.addEventListener('click', async function () {
1157
  </div>
1158
  <h3 style="text-align: center; font-size: 1.5rem; font-weight: bold; color: black;">📸 Generated caption :</h3>
1159
  <br>
1160
- <p style="text-align: center; font-size: 1.2rem; font-weight: bold; color: black;">${data.caption}</p>
1161
  `; // 🎤 Ajouter l'effet vocal
1162
  const playVoiceBtn = document.getElementById("playVoiceBtn");
1163
  playVoiceBtn.addEventListener("click", function () {
 
1157
  </div>
1158
  <h3 style="text-align: center; font-size: 1.5rem; font-weight: bold; color: black;">📸 Generated caption :</h3>
1159
  <br>
1160
+ <p id="interpretationText" style="text-align: center; font-size: 1.2rem; font-weight: bold; color: black;">${data.caption}</p>
1161
  `; // 🎤 Ajouter l'effet vocal
1162
  const playVoiceBtn = document.getElementById("playVoiceBtn");
1163
  playVoiceBtn.addEventListener("click", function () {