Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -1,15 +1,32 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Image Generation App
|
2 |
+
|
3 |
+
This is a simple Python application that uses the Hugging Face API to generate images based on text prompts.
|
4 |
+
|
5 |
+
## Requirements
|
6 |
+
|
7 |
+
- Python 3.x
|
8 |
+
- Requests library
|
9 |
+
|
10 |
+
## Setup
|
11 |
+
|
12 |
+
1. Clone the repository:
|
13 |
+
|
14 |
+
```bash
|
15 |
+
git clone https://github.com/yourusername/image-generation-app.git
|
16 |
+
cd image-generation-app
|
17 |
+
```
|
18 |
+
|
19 |
+
2. Install the required dependencies:
|
20 |
+
|
21 |
+
```bash
|
22 |
+
pip install -r requirements.txt
|
23 |
+
```
|
24 |
+
|
25 |
+
3. Set your Hugging Face API token in the `app.py` file.
|
26 |
+
|
27 |
+
## Usage
|
28 |
+
|
29 |
+
Run the application:
|
30 |
+
|
31 |
+
```bash
|
32 |
+
python app.py
|