Spaces:
Running
Running
Update static/script.js
Browse files- 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 () {
|