Spaces:
Running
Running
Update static/appS.js
Browse files- 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
|
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/"
|