Spaces:
Sleeping
Sleeping
Doubleupai
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def remove_background(image, filename, enhance):
|
|
37 |
|
38 |
# Load the example image from the URL
|
39 |
def load_example_image():
|
40 |
-
url = "https://huggingface.co/spaces/Doubleupai/RemBgV0/
|
41 |
response = requests.get(url)
|
42 |
image = Image.open(BytesIO(response.content))
|
43 |
return image
|
|
|
37 |
|
38 |
# Load the example image from the URL
|
39 |
def load_example_image():
|
40 |
+
url = "https://huggingface.co/spaces/Doubleupai/RemBgV0/resolve/main/example.jpg?raw=true" # Use the raw URL
|
41 |
response = requests.get(url)
|
42 |
image = Image.open(BytesIO(response.content))
|
43 |
return image
|