Spaces:
Configuration error
Configuration error
Commit
•
680c919
1
Parent(s):
585d613
Fix bug
Browse files
app.py
CHANGED
@@ -17,7 +17,8 @@ def download_image(url) -> PIL.Image.Image:
|
|
17 |
|
18 |
def image_to_sam_image_embedding(
|
19 |
image_url: str,
|
20 |
-
model_size: typing.Literal["base", "large", "huge"] = "base",
|
|
|
21 |
) -> str:
|
22 |
"""Generate an image embedding."""
|
23 |
|
|
|
17 |
|
18 |
def image_to_sam_image_embedding(
|
19 |
image_url: str,
|
20 |
+
# model_size: typing.Literal["base", "large", "huge"] = "base",
|
21 |
+
model_size: str = "base",
|
22 |
) -> str:
|
23 |
"""Generate an image embedding."""
|
24 |
|