Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -499,9 +499,10 @@ def create_download_link(filename, base64_str):
|
|
499 |
href = f'<a href="data:file/png;base64,{base64_str}" download="{filename}">Download Image</a>'
|
500 |
return href
|
501 |
image_urls = [
|
502 |
-
"https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/
|
503 |
-
"https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/
|
504 |
-
"https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/
|
|
|
505 |
]
|
506 |
|
507 |
selected_image_url = random.choice(image_urls)
|
|
|
499 |
href = f'<a href="data:file/png;base64,{base64_str}" download="{filename}">Download Image</a>'
|
500 |
return href
|
501 |
image_urls = [
|
502 |
+
"https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/cfhJIasuxLkT5fnaAE6Gj.png",
|
503 |
+
"https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/UMo4oWNrrd6RLLzsFxQAi.png",
|
504 |
+
"https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/o_EH4cTs5Qxiu7xTZw9I3.png",
|
505 |
+
"https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/cmCZ5RTdSx3usMm7MwwWK.png",
|
506 |
]
|
507 |
|
508 |
selected_image_url = random.choice(image_urls)
|