omar1232 commited on
Commit
b30b59c
·
verified ·
1 Parent(s): 6e959f5

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -58,7 +58,7 @@
58
  const response = await fetch('https://huggingface.co/spaces/omar1232/Advanced_Audio_Visualizer/api/predict', {
59
  method: 'POST',
60
  headers: { 'Content-Type': 'application/json' },
61
- body: JSON.stringify({ fn_index: 0, data: [null, null] }) // Adjust based on Gradio API
62
  });
63
  const result = await response.json();
64
  const [language, transcription, textFile] = result.data;
 
58
  const response = await fetch('https://huggingface.co/spaces/omar1232/Advanced_Audio_Visualizer/api/predict', {
59
  method: 'POST',
60
  headers: { 'Content-Type': 'application/json' },
61
+ body: JSON.stringify({ fn_index: 0, data: [null, null] }) // Adjust fn_index based on Gradio API
62
  });
63
  const result = await response.json();
64
  const [language, transcription, textFile] = result.data;