Update README.md
Browse files
README.md
CHANGED
@@ -80,8 +80,9 @@ By submitting the form above, you agree to BRIA’s [Privacy policy](https://bri
|
|
80 |
5. You can train your own LoRA on your desired style and use within this model.
|
81 |
|
82 |
### How To Use
|
|
|
|
|
83 |
```python
|
84 |
-
# requirements
|
85 |
# Tested with Python 3.10.16
|
86 |
opencv-python==4.10.0.84
|
87 |
torch==2.4.0
|
@@ -115,6 +116,7 @@ hf_hub_download(repo_id="briaai/BRIA-2.3-ID_Preservation", filename="ip_adapter/
|
|
115 |
hf_hub_download(repo_id="briaai/BRIA-2.3-ID_Preservation", filename="ip_adapter/utils.py", local_dir="./ip_adapter")
|
116 |
```
|
117 |
|
|
|
118 |
```python
|
119 |
import cv2
|
120 |
import torch
|
@@ -170,7 +172,7 @@ def make_canny_condition(image, min_val=100, max_val=200, w_bilateral=True):
|
|
170 |
|
171 |
|
172 |
# ================= Parameters =================
|
173 |
-
default_negative_prompt = "Text,Ugly,Morbid,Mutation,Blurry,
|
174 |
|
175 |
resolution = 1024
|
176 |
seed = 12345
|
|
|
80 |
5. You can train your own LoRA on your desired style and use within this model.
|
81 |
|
82 |
### How To Use
|
83 |
+
|
84 |
+
#### install requirements
|
85 |
```python
|
|
|
86 |
# Tested with Python 3.10.16
|
87 |
opencv-python==4.10.0.84
|
88 |
torch==2.4.0
|
|
|
116 |
hf_hub_download(repo_id="briaai/BRIA-2.3-ID_Preservation", filename="ip_adapter/utils.py", local_dir="./ip_adapter")
|
117 |
```
|
118 |
|
119 |
+
#### inference
|
120 |
```python
|
121 |
import cv2
|
122 |
import torch
|
|
|
172 |
|
173 |
|
174 |
# ================= Parameters =================
|
175 |
+
default_negative_prompt = "Text,Ugly,Morbid,Mutation,Blurry,Gross proportions,Long neck,Duplicate,Mutilated,Poorly drawn face,Deformed,Bad anatomy,Cloned face"
|
176 |
|
177 |
resolution = 1024
|
178 |
seed = 12345
|