Update README.md
Browse files
README.md
CHANGED
@@ -41,9 +41,18 @@ BRIA-4B-Adapt-ControlNet-Union requires access to BRIA-4B-Adapt Text-to-Image. F
|
|
41 |
|
42 |
|
43 |
# Inference
|
|
|
|
|
44 |
```python
|
45 |
pip install diffusers==0.30.2, hf_hub_download
|
46 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
```python
|
49 |
from huggingface_hub import hf_hub_download
|
|
|
41 |
|
42 |
|
43 |
# Inference
|
44 |
+
|
45 |
+
|
46 |
```python
|
47 |
pip install diffusers==0.30.2, hf_hub_download
|
48 |
```
|
49 |
+
To run the code, note that it automatically downloads the required files from Hugging Face. To ensure this works, you need to log in using:
|
50 |
+
|
51 |
+
```python
|
52 |
+
huggingface-cli login
|
53 |
+
```
|
54 |
+
When prompted, enter a *token* with *read* permissions enabled.
|
55 |
+
|
56 |
|
57 |
```python
|
58 |
from huggingface_hub import hf_hub_download
|