Spaces:
Running
on
A10G
Running
on
A10G
Update share_btn.py
Browse files- share_btn.py +1 -1
share_btn.py
CHANGED
@@ -65,7 +65,7 @@ share_js = """async () => {
|
|
65 |
|
66 |
const urls = await Promise.all(files.map((f) => uploadFile(f)));
|
67 |
|
68 |
-
const htmlImgs = urls.map(url => `<img src='${url}'
|
69 |
const [inputImgUrl, outputImgUrl] = htmlImgs;
|
70 |
|
71 |
const descriptionMd = `<div style='display: flex; flex-wrap: wrap; column-gap: 0.75rem;'>
|
|
|
65 |
|
66 |
const urls = await Promise.all(files.map((f) => uploadFile(f)));
|
67 |
|
68 |
+
const htmlImgs = urls.map(url => `<img src='${url}' style='max-width: 450px;'>`);
|
69 |
const [inputImgUrl, outputImgUrl] = htmlImgs;
|
70 |
|
71 |
const descriptionMd = `<div style='display: flex; flex-wrap: wrap; column-gap: 0.75rem;'>
|