videopix commited on
Commit
02cc4ab
·
verified ·
1 Parent(s): 5ca6e74

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -2
README.md CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  # Background Removal API (BiRefNet ONNX)
2
 
3
  This Space runs a FastAPI server for background removal using the BiRefNet ONNX model.
@@ -6,11 +15,11 @@ This Space runs a FastAPI server for background removal using the BiRefNet ONNX
6
  - Upload an image to the `/remove-background` endpoint.
7
  - It returns a PNG with a transparent background.
8
 
9
- ## Example (Python client)
10
  ```python
11
  import requests
12
 
13
- url = "https://YOUR-SPACE-NAME.hf.space/remove-background"
14
  files = {"file": open("example.jpg", "rb")}
15
  response = requests.post(url, files=files)
16
 
 
1
+ ---
2
+ title: Background Removal API
3
+ emoji: 🖼️
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: docker
7
+ pinned: false
8
+ ---
9
+
10
  # Background Removal API (BiRefNet ONNX)
11
 
12
  This Space runs a FastAPI server for background removal using the BiRefNet ONNX model.
 
15
  - Upload an image to the `/remove-background` endpoint.
16
  - It returns a PNG with a transparent background.
17
 
18
+ ### Example (Python client)
19
  ```python
20
  import requests
21
 
22
+ url = "https://YOUR-USERNAME-YOURSPACE.hf.space/remove-background"
23
  files = {"file": open("example.jpg", "rb")}
24
  response = requests.post(url, files=files)
25