Doubleupai commited on
Commit
1e322db
·
verified ·
1 Parent(s): 21040d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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/blob/main/example.jpg"
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