Update README.md
Browse files
README.md
CHANGED
|
@@ -17,6 +17,8 @@ pipeline_tag: text-to-image
|
|
| 17 |
|
| 18 |
## **Sub-Memory-efficient merging code (Flux.1-Dev + Flux.1-Krea-Dev)**
|
| 19 |
|
|
|
|
|
|
|
| 20 |
```py
|
| 21 |
%%capture
|
| 22 |
!pip install git+https://github.com/huggingface/transformers.git
|
|
@@ -25,14 +27,12 @@ pipeline_tag: text-to-image
|
|
| 25 |
!pip install git+https://github.com/huggingface/accelerate.git
|
| 26 |
!pip install safetensors huggingface_hub hf_xet
|
| 27 |
```
|
| 28 |
-
|
| 29 |
-
---
|
| 30 |
|
| 31 |
```
|
| 32 |
from huggingface_hub import notebook_login, HfApi
|
| 33 |
notebook_login()
|
| 34 |
```
|
| 35 |
-
---
|
| 36 |
|
| 37 |
๐ข๐๐ง๐๐.๐ฅ๐ฎ
|
| 38 |
|
|
|
|
| 17 |
|
| 18 |
## **Sub-Memory-efficient merging code (Flux.1-Dev + Flux.1-Krea-Dev)**
|
| 19 |
|
| 20 |
+
**Installing Required Packages**
|
| 21 |
+
|
| 22 |
```py
|
| 23 |
%%capture
|
| 24 |
!pip install git+https://github.com/huggingface/transformers.git
|
|
|
|
| 27 |
!pip install git+https://github.com/huggingface/accelerate.git
|
| 28 |
!pip install safetensors huggingface_hub hf_xet
|
| 29 |
```
|
| 30 |
+
**hf-login**
|
|
|
|
| 31 |
|
| 32 |
```
|
| 33 |
from huggingface_hub import notebook_login, HfApi
|
| 34 |
notebook_login()
|
| 35 |
```
|
|
|
|
| 36 |
|
| 37 |
๐ข๐๐ง๐๐.๐ฅ๐ฎ
|
| 38 |
|