Spaces:
Sleeping
Sleeping
[email protected]
commited on
Merge pull request #3 from Sunwood-ai-labs/translate-readme-11416960824
Browse files- docs/README.en.md +38 -35
docs/README.en.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
-
license:
|
3 |
title: Pic-to-Header
|
4 |
-
sdk:
|
5 |
emoji: π¨
|
6 |
colorFrom: blue
|
7 |
colorTo: purple
|
@@ -29,52 +29,55 @@ app_file: pic_to_header/app.py
|
|
29 |
|
30 |
</div>
|
31 |
|
32 |
-
Pic-to-Header is a Python application that generates header images using a mask image and an input image.
|
33 |
|
34 |
-
## π
|
35 |
|
36 |
-
-
|
37 |
-
- Apply the mask to the input image to generate a header image.
|
38 |
-
- Preview and download the generated header image.
|
39 |
|
40 |
-
##
|
41 |
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
```
|
48 |
-
|
49 |
-
2. Install the required dependencies:
|
50 |
|
51 |
-
```bash
|
52 |
-
pip install -r requirements.txt
|
53 |
-
```
|
54 |
|
55 |
-
##
|
56 |
|
57 |
-
1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
-
```bash
|
60 |
-
streamlit run pic_to_header/app.py
|
61 |
-
```
|
62 |
|
63 |
-
|
64 |
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
|
|
|
|
|
|
|
|
70 |
|
|
|
71 |
|
72 |
-
|
|
|
|
|
|
|
|
|
73 |
|
74 |
-
- `pic_to_header/core.py`: Contains the main image processing functions.
|
75 |
-
- `pic_to_header/app.py`: Provides the web interface using Streamlit.
|
76 |
|
77 |
## π License
|
78 |
|
79 |
-
This project is licensed under the MIT License.
|
80 |
-
```
|
|
|
1 |
---
|
2 |
+
license: mit
|
3 |
title: Pic-to-Header
|
4 |
+
sdk: streamlit
|
5 |
emoji: π¨
|
6 |
colorFrom: blue
|
7 |
colorTo: purple
|
|
|
29 |
|
30 |
</div>
|
31 |
|
32 |
+
Pic-to-Header is a Python application that generates header images using a mask image and an input image. Version 0.1.0 has been released.
|
33 |
|
34 |
+
## π Project Overview
|
35 |
|
36 |
+
Pic-to-Header is a Streamlit application that allows you to easily generate and download header images using a mask image and an input image. It's also available on PyPI.
|
|
|
|
|
37 |
|
38 |
+
## β¨ Key Features
|
39 |
|
40 |
+
- Upload mask and input images
|
41 |
+
- Generate header images
|
42 |
+
- Preview and download generated header images
|
43 |
+
- Display README.md (within the Streamlit app)
|
44 |
+
- A calming, dark theme
|
|
|
|
|
|
|
45 |
|
|
|
|
|
|
|
46 |
|
47 |
+
## π§ How to Use
|
48 |
|
49 |
+
1. **Installation**:
|
50 |
+
```bash
|
51 |
+
pip install -r requirements.txt
|
52 |
+
```
|
53 |
+
2. **Run the Streamlit application**:
|
54 |
+
```bash
|
55 |
+
streamlit run pic_to-header/app.py
|
56 |
+
```
|
57 |
+
3. Access the URL displayed in your browser, upload your input and mask images, and click the "Generate Header Image" button.
|
58 |
|
|
|
|
|
|
|
59 |
|
60 |
+
## π¦ Installation Instructions
|
61 |
|
62 |
+
1. Clone the repository:
|
63 |
+
```bash
|
64 |
+
git clone https://github.com/Sunwood-ai-labs/pic-to-header.git
|
65 |
+
cd pic-to-header
|
66 |
+
```
|
67 |
+
2. Install the necessary dependencies:
|
68 |
+
```bash
|
69 |
+
pip install -r requirements.txt
|
70 |
+
```
|
71 |
|
72 |
+
## π What's New (v0.1.0)
|
73 |
|
74 |
+
- The repository name has been changed from `HarmonAI III` to `Pic-to-Header`.
|
75 |
+
- Added release, tag, and PyPI version badges to the README.
|
76 |
+
- Automated PyPI package publishing.
|
77 |
+
- Enhanced functionality and improved design of the Streamlit application.
|
78 |
+
- Added sample input images, generated sample images, and mask images.
|
79 |
|
|
|
|
|
80 |
|
81 |
## π License
|
82 |
|
83 |
+
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
|
|