Spaces:
Build error
Build error
Commit
·
ae3f655
1
Parent(s):
f687b40
app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,8 @@ import gradio as gr
|
|
14 |
def show_output_image(matched_images) :
|
15 |
image=[]
|
16 |
for photo_id in matched_images:
|
17 |
-
photo_image_url = f"https://unsplash.com/photos/{photo_id}/download?w=280"
|
18 |
-
|
19 |
response = requests.get(photo_image_url)
|
20 |
img = Image.open(BytesIO(response.content))
|
21 |
#return img
|
|
|
14 |
def show_output_image(matched_images) :
|
15 |
image=[]
|
16 |
for photo_id in matched_images:
|
17 |
+
#photo_image_url = f"https://unsplash.com/photos/{photo_id}/download?w=280"
|
18 |
+
photo_image_url = f"https://unsplash.com/photos/{photo_id}/download"
|
19 |
response = requests.get(photo_image_url)
|
20 |
img = Image.open(BytesIO(response.content))
|
21 |
#return img
|