jonels1988 commited on
Commit
c4ffe1e
·
verified ·
1 Parent(s): 7a562fb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -9
README.md CHANGED
@@ -1,10 +1,9 @@
1
  ---
2
- title: MDBG
3
  emoji: 🖼️
4
- colorFrom: purple
5
- colorTo: indigo
6
  sdk: gradio
7
- sdk_version: "4.44.1"
8
  app_file: app.py
9
  pinned: false
10
  ---
@@ -20,11 +19,24 @@ pinned: false
20
  - Optional **image watermark** (bottom-right)
21
  - Optional **brightness** adjust
22
  - Batch from **CSV/TXT** of image URLs
23
- - Download results as **ZIP**
 
 
 
 
 
 
 
24
 
25
  ## How to Use
26
- 1. Upload a CSV (has a URL column) or a TXT (one URL per line).
27
- 2. (Optional) Upload `watermark.png` or let the app use the repo file.
28
- 3. Click **Process**, then download the ZIP.
 
 
 
 
 
29
 
30
- **License:** Proprietary – internal business use (for MD Buying Group / WooCommerce image batch editing)
 
 
1
  ---
2
+ title: MDBG — Bulk Background Remover
3
  emoji: 🖼️
4
+ colorFrom: indigo
5
+ colorTo: blue
6
  sdk: gradio
 
7
  app_file: app.py
8
  pinned: false
9
  ---
 
19
  - Optional **image watermark** (bottom-right)
20
  - Optional **brightness** adjust
21
  - Batch from **CSV/TXT** of image URLs
22
+ - **Output mode:** download all as **ZIP** or **individual files**
23
+ - **ID-based filenames**: outputs are renamed as your **ID** (e.g., `12345.png`)
24
+ - Live streaming logs + Fast Mode for quick testing
25
+
26
+ ## Input Format
27
+ - **CSV**: include at least a URL column. Preferred column names: `url`, `image`, `image_url`, etc.
28
+ If you include an **ID** column (recommended), name it `id` (or `product_id`, `sku`, `code`).
29
+ - **TXT**: one URL per line (IDs will default to row index).
30
 
31
  ## How to Use
32
+ 1. Upload a CSV/TXT with URLs. If using CSV, include an **`id`** column so outputs are named like `ID.png`.
33
+ 2. (Optional) Upload a watermark PNG in the UI **or** place `watermark.png` in the repo root.
34
+ 3. Choose **ZIP** or **Individual files** output, pick **Fast Mode** if you want speed over strict size cap.
35
+ 4. Click **Process** and watch the live log. Download when done.
36
+
37
+ ## Notes
38
+ - Runs on **CPU Basic** (free). For large batches, process in chunks.
39
+ - Transparent PNGs can be heavier than JPEG; Fast Mode may exceed 300 KB for speed.
40
 
41
+ ## License
42
+ **Proprietary – internal business use (for MD Buying Group / WooCommerce image batch editing)**