rishi9440 commited on
Commit
e8fd989
1 Parent(s): 8d3aa08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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