Spaces:
Runtime error
Runtime error
Add css max-wight to images (#40)
Browse files- Add css max-wight to images (7a6069dba8e36c354a8de56af8528ad5dd8ca986)
Co-authored-by: Mishig Davaadorj <[email protected]>
- share_btn.py +1 -1
share_btn.py
CHANGED
|
@@ -61,7 +61,7 @@ share_js = """async () => {
|
|
| 61 |
const urlInputImg = await uploadFile(inputFile);
|
| 62 |
|
| 63 |
const descriptionMd = `#### Input img:
|
| 64 |
-
<img src='${urlInputImg}'>
|
| 65 |
|
| 66 |
#### Caption:
|
| 67 |
${outputTxt}`;
|
|
|
|
| 61 |
const urlInputImg = await uploadFile(inputFile);
|
| 62 |
|
| 63 |
const descriptionMd = `#### Input img:
|
| 64 |
+
<img src='${urlInputImg}' style='max-height: 350px;'>
|
| 65 |
|
| 66 |
#### Caption:
|
| 67 |
${outputTxt}`;
|