Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def V_SPACE(lines):
|
|
13 |
for _ in range(lines):
|
14 |
st.write(' ')
|
15 |
|
16 |
-
def image_download_button(pil_image, filename: str, fmt: str, label="Download"):
|
17 |
if fmt not in ["jpg", "png"]:
|
18 |
raise Exception(f"Unknown image format (Available: {fmt} - case sensitive)")
|
19 |
|
|
|
13 |
for _ in range(lines):
|
14 |
st.write(' ')
|
15 |
|
16 |
+
def image_download_button(pil_image+"/?target=external", filename: str, fmt: str, label="Download"):
|
17 |
if fmt not in ["jpg", "png"]:
|
18 |
raise Exception(f"Unknown image format (Available: {fmt} - case sensitive)")
|
19 |
|