Update app.py
Browse files
app.py
CHANGED
|
@@ -187,9 +187,9 @@ def latents_to_pil(latents):
|
|
| 187 |
return pil_images
|
| 188 |
|
| 189 |
"""We'll use a pic from the web here, but you can load your own instead by uploading it and editing the filename in the next cell."""
|
| 190 |
-
|
| 191 |
# Download a demo Image
|
| 192 |
-
|
| 193 |
url = 'https://lafeber.com/pet-birds/wp-content/uploads/2018/06/Scarlet-Macaw-2.jpg'
|
| 194 |
|
| 195 |
try:
|
|
|
|
| 187 |
return pil_images
|
| 188 |
|
| 189 |
"""We'll use a pic from the web here, but you can load your own instead by uploading it and editing the filename in the next cell."""
|
| 190 |
+
import requests
|
| 191 |
# Download a demo Image
|
| 192 |
+
curl --output macaw.jpg 'https://lafeber.com/pet-birds/wp-content/uploads/2018/06/Scarlet-Macaw-2.jpg'
|
| 193 |
url = 'https://lafeber.com/pet-birds/wp-content/uploads/2018/06/Scarlet-Macaw-2.jpg'
|
| 194 |
|
| 195 |
try:
|