Spaces:
Sleeping
Sleeping
Rishi Desai
commited on
Commit
·
1fdff79
1
Parent(s):
70d472b
read me
Browse files- README.md +20 -4
- requirements.txt +7 -0
- scratch/timothee_face.jpg +3 -0
README.md
CHANGED
@@ -20,20 +20,36 @@ Enhancing faces in AI generated images.
|
|
20 |
```
|
21 |
export HF_HOME=/path/to/your/huggingface_cache
|
22 |
```
|
23 |
-
This defines where models will be downloaded and
|
24 |
|
25 |
3. Create and activate a virtual environment:
|
26 |
```
|
27 |
python -m venv venv
|
28 |
-
source venv/bin/activate
|
29 |
```
|
30 |
|
31 |
-
4.
|
|
|
|
|
|
|
|
|
|
|
32 |
```
|
33 |
python install.py
|
34 |
```
|
35 |
|
36 |
This script will:
|
37 |
-
- Install all required dependencies to your
|
38 |
- Install ComfyUI and necessary custom nodes
|
39 |
- Download and install all required models (FLUX, ControlNet, text encoders, PuLID, and more)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
```
|
21 |
export HF_HOME=/path/to/your/huggingface_cache
|
22 |
```
|
23 |
+
This defines where models will be downloaded and then symlinked to the ComfyUI folder.
|
24 |
|
25 |
3. Create and activate a virtual environment:
|
26 |
```
|
27 |
python -m venv venv
|
28 |
+
source venv/bin/activate
|
29 |
```
|
30 |
|
31 |
+
4. Install dependencies from requirements.txt:
|
32 |
+
```
|
33 |
+
pip install -r requirements.txt
|
34 |
+
```
|
35 |
+
|
36 |
+
5. Run the installation script:
|
37 |
```
|
38 |
python install.py
|
39 |
```
|
40 |
|
41 |
This script will:
|
42 |
+
- Install all required dependencies to your venv
|
43 |
- Install ComfyUI and necessary custom nodes
|
44 |
- Download and install all required models (FLUX, ControlNet, text encoders, PuLID, and more)
|
45 |
+
|
46 |
+
## Configuration
|
47 |
+
|
48 |
+
Create a .env file in the project root directory with your API keys:
|
49 |
+
```
|
50 |
+
touch .env
|
51 |
+
echo "OPENAI_API_KEY=your_openai_api_key_here" >> .env
|
52 |
+
echo "FAL_API_KEY=your_fal_api_key_here" >> .env
|
53 |
+
```
|
54 |
+
|
55 |
+
These API keys are required for certain features of the application to work properly.
|
requirements.txt
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
fastapi[standard]
|
2 |
+
huggingface_hub[hf_transfer]
|
3 |
+
comfy-cli
|
4 |
+
python-dotenv
|
5 |
+
requests
|
6 |
+
openai
|
7 |
+
fal-client
|
scratch/timothee_face.jpg
ADDED
![]() |
Git LFS Details
|