Spaces:
Sleeping
Sleeping
Update Web/script.js
Browse files- Web/script.js +1 -1
Web/script.js
CHANGED
|
@@ -186,7 +186,7 @@ async function analyzeAudio(blob) {
|
|
| 186 |
const file = new File([blob], blob.name || "audio.wav", { type: blob.type });
|
| 187 |
|
| 188 |
const formData = new FormData();
|
| 189 |
-
formData.append("
|
| 190 |
|
| 191 |
try {
|
| 192 |
// Replace the URL with your real backend endpoint
|
|
|
|
| 186 |
const file = new File([blob], blob.name || "audio.wav", { type: blob.type });
|
| 187 |
|
| 188 |
const formData = new FormData();
|
| 189 |
+
formData.append("files", file);
|
| 190 |
|
| 191 |
try {
|
| 192 |
// Replace the URL with your real backend endpoint
|