ikraamkb commited on
Commit
3b6a965
·
verified ·
1 Parent(s): e49bdcb

Update static/appS.js

Browse files
Files changed (1) hide show
  1. static/appS.js +1 -1
static/appS.js CHANGED
@@ -520,7 +520,7 @@ function injectAudioPlayer(bubble, audioUrl) {
520
 
521
  const formData = new FormData();
522
  formData.append('file', selectedFile);
523
- if (isSummarizeMode) formData.append('length', 'medium');
524
 
525
  try {
526
  const response = await fetch(endpoint, {
 
520
 
521
  const formData = new FormData();
522
  formData.append('file', selectedFile);
523
+ if (isSummarizeMode) formData.append('length', summarizeRadio.selectedItem);
524
 
525
  try {
526
  const response = await fetch(endpoint, {