Spaces:
Running
Running
add
Browse files- static/script.js +1 -1
static/script.js
CHANGED
@@ -828,7 +828,7 @@ askBtn.addEventListener('click', async () => {
|
|
828 |
formData.append("file", fileInput.files[0]);
|
829 |
formData.append("query", graphTypeSelect.value);
|
830 |
|
831 |
-
const response = await fetch("
|
832 |
method: "POST",
|
833 |
body: formData,
|
834 |
headers: { 'Accept': 'image/*' }
|
|
|
828 |
formData.append("file", fileInput.files[0]);
|
829 |
formData.append("query", graphTypeSelect.value);
|
830 |
|
831 |
+
const response = await fetch("/generate_viz/", {
|
832 |
method: "POST",
|
833 |
body: formData,
|
834 |
headers: { 'Accept': 'image/*' }
|