Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def remove_background(image):
|
|
14 |
image_bytes = BytesIO()
|
15 |
image.save(image_bytes, format="PNG")
|
16 |
response = requests.post(
|
17 |
-
"https://api-inference.huggingface.co/models/
|
18 |
headers=headers,
|
19 |
files={"file": image_bytes.getvalue()}
|
20 |
)
|
|
|
14 |
image_bytes = BytesIO()
|
15 |
image.save(image_bytes, format="PNG")
|
16 |
response = requests.post(
|
17 |
+
"https://api-inference.huggingface.co/models/chwshuang/Stable_diffusion_remove_background_model",
|
18 |
headers=headers,
|
19 |
files={"file": image_bytes.getvalue()}
|
20 |
)
|