Spaces:
Running
Running
Update static/script.js
Browse files- static/script.js +1 -1
static/script.js
CHANGED
@@ -91,7 +91,7 @@ function loadResumerPage() {
|
|
91 |
formData.append("file", fileInput.files[0]);
|
92 |
|
93 |
try {
|
94 |
-
let response = await fetch("
|
95 |
method: "POST",
|
96 |
body: formData,
|
97 |
headers: { "Accept": "application/json" }
|
|
|
91 |
formData.append("file", fileInput.files[0]);
|
92 |
|
93 |
try {
|
94 |
+
let response = await fetch("/summarize/", {
|
95 |
method: "POST",
|
96 |
body: formData,
|
97 |
headers: { "Accept": "application/json" }
|