Spaces:
Running
on
Zero
Running
on
Zero
Upload 3 files
Browse files- app.py +2 -2
- lora_dict.json +0 -0
- modutils.py +3 -1
app.py
CHANGED
|
@@ -176,6 +176,8 @@ from modutils import (
|
|
| 176 |
list_uniq,
|
| 177 |
get_tupled_embed_list,
|
| 178 |
update_lora_dict,
|
|
|
|
|
|
|
| 179 |
)
|
| 180 |
|
| 181 |
# - **Download SD 1.5 Models**
|
|
@@ -192,8 +194,6 @@ download_vae = ", ".join(download_vae_list)
|
|
| 192 |
download_lora_list = []
|
| 193 |
download_lora = ", ".join(download_lora_list)
|
| 194 |
|
| 195 |
-
HF_LORA_PRIVATE_REPOS = ['John6666/loratest1', 'John6666/loratest3', 'John6666/loratest4', 'John6666/loratest']
|
| 196 |
-
HF_LORA_ESSENTIAL_PRIVATE_REPO = 'John6666/loratest1'
|
| 197 |
download_private_repo(HF_LORA_ESSENTIAL_PRIVATE_REPO, directory_loras, True)
|
| 198 |
download_private_repo('John6666/vaetest', directory_vaes, False)
|
| 199 |
|
|
|
|
| 176 |
list_uniq,
|
| 177 |
get_tupled_embed_list,
|
| 178 |
update_lora_dict,
|
| 179 |
+
HF_LORA_ESSENTIAL_PRIVATE_REPO,
|
| 180 |
+
HF_LORA_PRIVATE_REPOS,
|
| 181 |
)
|
| 182 |
|
| 183 |
# - **Download SD 1.5 Models**
|
|
|
|
| 194 |
download_lora_list = []
|
| 195 |
download_lora = ", ".join(download_lora_list)
|
| 196 |
|
|
|
|
|
|
|
| 197 |
download_private_repo(HF_LORA_ESSENTIAL_PRIVATE_REPO, directory_loras, True)
|
| 198 |
download_private_repo('John6666/vaetest', directory_vaes, False)
|
| 199 |
|
lora_dict.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
modutils.py
CHANGED
|
@@ -3,7 +3,9 @@ import json
|
|
| 3 |
import gradio as gr
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
-
|
|
|
|
|
|
|
| 7 |
directory_loras = 'loras'
|
| 8 |
|
| 9 |
|
|
|
|
| 3 |
import gradio as gr
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
+
|
| 7 |
+
HF_LORA_PRIVATE_REPOS = ['John6666/loratest1', 'John6666/loratest3', 'John6666/loratest4', 'John6666/loratest10', 'John6666/loratest']
|
| 8 |
+
HF_LORA_ESSENTIAL_PRIVATE_REPO = 'John6666/loratest1'
|
| 9 |
directory_loras = 'loras'
|
| 10 |
|
| 11 |
|