onnew commited on
Commit
27ed9bf
·
verified ·
1 Parent(s): 1616045

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -15
README.md CHANGED
@@ -1,15 +1,32 @@
1
- ---
2
- title: TEXT 2 IMAGE
3
- emoji: 🥠
4
- colorFrom: red
5
- colorTo: indigo
6
- sdk: gradio
7
- sdk_version: 4.44.1
8
- app_file: app.py
9
- pinned: true
10
- license: creativeml-openrail-m
11
- about: demo space to try how multi model selection function works
12
- short_description: text to image gen | sdxl [io]
13
- ---
14
-
15
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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