ikraamkb commited on
Commit
a7d9e72
·
verified ·
1 Parent(s): a22a174

Update static/appS.js

Browse files
Files changed (1) hide show
  1. static/appS.js +1 -1
static/appS.js CHANGED
@@ -660,7 +660,7 @@ document.addEventListener('DOMContentLoaded', () => {
660
  }
661
 
662
  const isSummarize = document.querySelector('input[name="mode"]:checked').value === "Summarize";
663
- const length = document.querySelector('input[name="length"]:checked')?.value || "Medium";
664
 
665
  const endpoint = isSummarize
666
  ? "/Summarization/summarize/"
 
660
  }
661
 
662
  const isSummarize = document.querySelector('input[name="mode"]:checked').value === "Summarize";
663
+ const length = document.querySelector('input[name="length"]:checked')?.value.toLowerCase();
664
 
665
  const endpoint = isSummarize
666
  ? "/Summarization/summarize/"