Spaces:
Configuration error
Configuration error
segments-arnaud
commited on
Commit
•
97b080a
1
Parent(s):
a8366cc
Change error message
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def image_to_sam_image_embedding(
|
|
28 |
try:
|
29 |
image = download_image(image_url)
|
30 |
except:
|
31 |
-
raise gr.Error(f"Could not find image with URL {image_url}")
|
32 |
image = image.convert("RGB")
|
33 |
image = np.asarray(image)
|
34 |
|
|
|
28 |
try:
|
29 |
image = download_image(image_url)
|
30 |
except:
|
31 |
+
raise gr.Error(f"Could not find image with URL: {image_url}.")
|
32 |
image = image.convert("RGB")
|
33 |
image = np.asarray(image)
|
34 |
|