danielquillanroxas commited on
Commit
11f5e95
·
1 Parent(s): 6a5d41f

docker update

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -4
  2. README.md +20 -11
Dockerfile CHANGED
@@ -1,5 +1,4 @@
1
- # Create a Dockerfile
2
- echo 'FROM python:3.9
3
 
4
  WORKDIR /code
5
 
@@ -8,5 +7,4 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
8
 
9
  COPY . /code/
10
 
11
- # Make sure the Space listens on port 7860
12
- CMD ["python", "app.py"]' > Dockerfile
 
1
+ FROM python:3.9
 
2
 
3
  WORKDIR /code
4
 
 
7
 
8
  COPY . /code/
9
 
10
+ CMD ["python", "app.py"]
 
README.md CHANGED
@@ -1,11 +1,20 @@
1
- ---
2
- title: Privacy Preservation
3
- emoji: 📉
4
- colorFrom: indigo
5
- colorTo: gray
6
- sdk: docker
7
- pinned: false
8
- short_description: A deployment of a DL model and blurs texts, faces, & texts.
9
- ---
10
-
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
1
+ # Privacy Protector: Automatic Blurring Tool
2
+
3
+ This application uses YOLOv8 to automatically detect and blur faces, license plates, and text in images to protect privacy.
4
+
5
+ ## Features
6
+
7
+ - Face detection and blurring
8
+ - License plate detection and blurring
9
+ - Text detection and blurring
10
+ - Simple user interface
11
+
12
+ ## How to Use
13
+
14
+ 1. Upload an image using the interface
15
+ 2. Click "Process Image"
16
+ 3. Download the result with sensitive elements blurred
17
+
18
+ ## Model Information
19
+
20
+ This uses a custom-trained YOLOv8 model fine-tuned specifically for privacy protection tasks.