Update app/templates/index.html
Browse files- app/templates/index.html +1 -1
app/templates/index.html
CHANGED
@@ -187,7 +187,7 @@
|
|
187 |
const imageData = canvas.toDataURL('image/png');
|
188 |
|
189 |
// Send image data to Flask route for processing
|
190 |
-
fetch('upload', {
|
191 |
method: 'POST',
|
192 |
body: JSON.stringify({ image_data: imageData, use_model_gan: useModelGAN, unique_ID: imageID }),
|
193 |
headers: {
|
|
|
187 |
const imageData = canvas.toDataURL('image/png');
|
188 |
|
189 |
// Send image data to Flask route for processing
|
190 |
+
fetch('https://ddnb338-lumos-app.hf.space/upload', {
|
191 |
method: 'POST',
|
192 |
body: JSON.stringify({ image_data: imageData, use_model_gan: useModelGAN, unique_ID: imageID }),
|
193 |
headers: {
|