Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def convert_mask_image_to_base64_string(mask_image):
|
|
19 |
return f",{image_base64_string}" # for some reason the funciton which downloads image from base64 expects prefix of "," which is redundant in the url
|
20 |
|
21 |
def download_image(url):
|
22 |
-
url
|
23 |
response = requests.get(url)
|
24 |
return Image.open(BytesIO(response.content)).convert("RGB")
|
25 |
|
|
|
19 |
return f",{image_base64_string}" # for some reason the funciton which downloads image from base64 expects prefix of "," which is redundant in the url
|
20 |
|
21 |
def download_image(url):
|
22 |
+
print(url)
|
23 |
response = requests.get(url)
|
24 |
return Image.open(BytesIO(response.content)).convert("RGB")
|
25 |
|