Mohansai2004 commited on
Commit
a626d7f
·
verified ·
1 Parent(s): c5322d4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -4
README.md CHANGED
@@ -1,10 +1,23 @@
1
  ---
2
- title: Image Analysis
3
- emoji: 🐢
4
- colorFrom: red
5
  colorTo: blue
6
  sdk: docker
 
7
  pinned: false
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: FastAPI Image Processor
3
+ emoji: 🖼️
4
+ colorFrom: indigo
5
  colorTo: blue
6
  sdk: docker
7
+ app_file: app.py
8
  pinned: false
9
+ license: mit
10
  ---
11
 
12
+ # 📸 FastAPI Image Processor (Docker Space)
13
+
14
+ Send a `POST` request to `/process-image` with an image file. The Space will return:
15
+ - filename
16
+ - width & height
17
+ - format (e.g., JPEG, PNG)
18
+
19
+ ## 🧪 Test locally
20
+
21
+ ```bash
22
+ curl -X POST http://localhost:7860/process-image \
23
+ -F "file=@example.jpg"