Spaces:
Running
Running
Wkatir
commited on
Commit
Β·
081b432
1
Parent(s):
cfbce04
feat: modifiying README.md
Browse files
README.md
CHANGED
@@ -1,88 +1,11 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
- Batch processing with ZIP download
|
12 |
-
- PNG/JPG/WEBP support
|
13 |
-
- Transparency preservation
|
14 |
-
|
15 |
-
### Smart Crop Tool
|
16 |
-
- Face detection cropping
|
17 |
-
- Multiple gravity modes (auto, face, north, etc)
|
18 |
-
- Batch processing
|
19 |
-
- Precision resizing
|
20 |
-
|
21 |
-
### Image Optimizer
|
22 |
-
- Smart compression algorithms
|
23 |
-
- Guaranteed size reduction
|
24 |
-
- PNG transparency support
|
25 |
-
- Detailed compression metrics
|
26 |
-
|
27 |
-
## Installation
|
28 |
-
|
29 |
-
1. Clone repository:
|
30 |
-
```bash
|
31 |
-
git clone https://github.com/wkatir/ai-design-hub.git
|
32 |
-
cd ai-design-hub
|
33 |
-
```
|
34 |
-
|
35 |
-
2. Install dependencies:
|
36 |
-
```bash
|
37 |
-
pip install -r requirements.txt
|
38 |
-
```
|
39 |
-
|
40 |
-
3. Configure Cloudinary credentials (for AI features):
|
41 |
-
```bash
|
42 |
-
echo "CLOUDINARY_URL='your_cloudinary_url'" > .env
|
43 |
-
```
|
44 |
-
|
45 |
-
## Usage
|
46 |
-
|
47 |
-
### Main Dashboard
|
48 |
-
```bash
|
49 |
-
streamlit run main.py
|
50 |
-
```
|
51 |
-
|
52 |
-
### Individual Tools
|
53 |
-
```bash
|
54 |
-
# Background Generator
|
55 |
-
streamlit run pages/1_Background_Generator.py
|
56 |
-
|
57 |
-
# Smart Crop Tool
|
58 |
-
streamlit run pages/2_Smart_Crop.py
|
59 |
-
|
60 |
-
# Image Optimizer
|
61 |
-
streamlit run pages/3_Image_Compression.py
|
62 |
-
```
|
63 |
-
|
64 |
-
## Requirements
|
65 |
-
- Python 3.8+
|
66 |
-
- Cloudinary account
|
67 |
-
- Streamlit β₯1.28.0
|
68 |
-
- Pillow, python-dotenv, cloudinary, requests
|
69 |
-
|
70 |
-
## File Structure
|
71 |
-
```
|
72 |
-
ai-design-hub/
|
73 |
-
βββ main.py
|
74 |
-
βββ pages/
|
75 |
-
β βββ 1_Background_Generator.py
|
76 |
-
β βββ 2_Smart_Crop.py
|
77 |
-
β βββ 3_Image_Compression.py
|
78 |
-
βββ requirements.txt
|
79 |
-
βββ .env.example
|
80 |
-
```
|
81 |
-
|
82 |
-
## Support & Contribution
|
83 |
-
- Issues: GitHub Issues tracker
|
84 |
-
- PRs: Follow standard GitHub workflow
|
85 |
-
|
86 |
-
## License
|
87 |
-
MIT License
|
88 |
|
|
|
1 |
+
---
|
2 |
+
title: AI Design Hub
|
3 |
+
emoji: π¨
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: purple
|
6 |
+
sdk: streamlit
|
7 |
+
sdk_version: "1.28.0"
|
8 |
+
app_file: main.py
|
9 |
+
pinned: false
|
10 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|