Update app.py
Browse files18 unmodified lines19202122232418 unmodified linesreturn f",{image_base64_string}" # for some reason the funciton which downloads image from base64 expects prefix of "," which is redundant in the urldef download_image(url):response = requests.get(url)return Image.open(BytesIO(response.content)).convert("RGB")18 unmodified lines1920212223242518 unmodified linesreturn f",{image_base64_string}" # for some reason the funciton which downloads image from base64 expects prefix of "," which is redundant in the urldef download_image(url):url = "https://d1ei2xrl63k822.cloudfront.net/api/gen_fill/13097c40-acbb-11ef-9337-dafe1b13b3f8.png?Expires=1733315303&Signature=APRqmL4v3fExxrt8SXfEKgQPN5w~1tstP8YW-R3Lhk4v-bOruT9ppC0lkwrNLx48Dju7y7uUiHybTaHwZcw86xsxGXISA2d1ZNhCY7k-DZONITKewNw65W5RociSaAQZFR5QDu32V~D6FdUpuZYDML98u4qKh1PRSRW5HS1KRIGqXqNpErIXDdxbQesolBKl5z5ov4l3-EuXunsmktadMLpLEQcxvtNm1F55wbvsEtu-EU0Z0u28icQm7p1cr4lTh2X6hshweLoRxJ0u1e1h6KVX90IdDWbXuVfz-VxQ5t-H415MFj8rjqTCVz1AFfw1EPXZWNhSB11wxL4XFySOdw__&Key-Pair-Id=K2UXO1NPZVKO7N"response = requests.get(url)return Image.open(BytesIO(response.content)).convert("RGB")
app.py+1