MeysamSh commited on
Commit
cb4abde
·
verified ·
1 Parent(s): 0b77764

Update Web/script.js

Browse files
Files changed (1) hide show
  1. 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("file", file);
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