Spaces:
Running
on
L40S
Running
on
L40S
Commit
Β·
6045b6d
1
Parent(s):
4d0b778
fix for the download
Browse files- client/src/app.tsx +1 -1
client/src/app.tsx
CHANGED
@@ -56,7 +56,7 @@ export function App() {
|
|
56 |
if (previewImage) {
|
57 |
const link = document.createElement('a');
|
58 |
link.href = previewImage;
|
59 |
-
link.download = '
|
60 |
document.body.appendChild(link);
|
61 |
link.click();
|
62 |
document.body.removeChild(link);
|
|
|
56 |
if (previewImage) {
|
57 |
const link = document.createElement('a');
|
58 |
link.href = previewImage;
|
59 |
+
link.download = 'result.webp';
|
60 |
document.body.appendChild(link);
|
61 |
link.click();
|
62 |
document.body.removeChild(link);
|