Spaces:
Paused
Paused
Update static/index.html
Browse files- static/index.html +1 -1
static/index.html
CHANGED
|
@@ -45,7 +45,7 @@
|
|
| 45 |
});
|
| 46 |
const data = await response.json();
|
| 47 |
const outputPath = data.save_path;
|
| 48 |
-
window.open(`
|
| 49 |
} catch (error) {
|
| 50 |
console.error('Error:', error);
|
| 51 |
}
|
|
|
|
| 45 |
});
|
| 46 |
const data = await response.json();
|
| 47 |
const outputPath = data.save_path;
|
| 48 |
+
window.open(`/download/${outputPath}`, '_blank');
|
| 49 |
} catch (error) {
|
| 50 |
console.error('Error:', error);
|
| 51 |
}
|