Spaces:
Running
on
Zero
Running
on
Zero
main
Browse files- gradio_app.py +5 -5
gradio_app.py
CHANGED
@@ -31,31 +31,31 @@ from huggingface_hub import hf_hub_download
|
|
31 |
repo_id = "Kijai/flux-fp8"
|
32 |
file_name = "flux1-dev-fp8.safetensors"
|
33 |
BASE_FLUX_CHECKPOINT = hf_hub_download(repo_id=repo_id, filename=file_name)
|
34 |
-
print(f"Downloaded BASE_FLUX_CHECKPOINT saved at: {
|
35 |
|
36 |
from huggingface_hub import hf_hub_download
|
37 |
repo_id = "comfyanonymous/flux_text_encoders"
|
38 |
file_name = "clip_l.safetensors"
|
39 |
CLIP_L_PATH = hf_hub_download(repo_id=repo_id, filename=file_name)
|
40 |
-
print(f"Downloaded CLIP_L_PATH saved at: {
|
41 |
|
42 |
from huggingface_hub import hf_hub_download
|
43 |
repo_id = "comfyanonymous/flux_text_encoders"
|
44 |
file_name = "t5xxl_fp8_e4m3fn.safetensors"
|
45 |
T5XXL_PATH = hf_hub_download(repo_id=repo_id, filename=file_name)
|
46 |
-
print(f"Downloaded T5XXL_PATH saved at: {
|
47 |
|
48 |
from huggingface_hub import hf_hub_download
|
49 |
repo_id = "black-forest-labs/FLUX.1-dev"
|
50 |
file_name = "ae.safetensors"
|
51 |
AE_PATH = hf_hub_download(repo_id=repo_id, filename=file_name)
|
52 |
-
print(f"Downloaded AE_PATH saved at: {
|
53 |
|
54 |
from huggingface_hub import hf_hub_download
|
55 |
repo_id = "showlab/makeanything"
|
56 |
file_name = "recraft_9f_lego.safetensors"
|
57 |
LORA_WEIGHTS_PATH = hf_hub_download(repo_id=repo_id, filename=file_name)
|
58 |
-
print(f"Downloaded LORA_WEIGHTS_PATH saved at: {
|
59 |
|
60 |
# Load model function
|
61 |
def load_target_model():
|
|
|
31 |
repo_id = "Kijai/flux-fp8"
|
32 |
file_name = "flux1-dev-fp8.safetensors"
|
33 |
BASE_FLUX_CHECKPOINT = hf_hub_download(repo_id=repo_id, filename=file_name)
|
34 |
+
print(f"Downloaded BASE_FLUX_CHECKPOINT saved at: {BASE_FLUX_CHECKPOINT}")
|
35 |
|
36 |
from huggingface_hub import hf_hub_download
|
37 |
repo_id = "comfyanonymous/flux_text_encoders"
|
38 |
file_name = "clip_l.safetensors"
|
39 |
CLIP_L_PATH = hf_hub_download(repo_id=repo_id, filename=file_name)
|
40 |
+
print(f"Downloaded CLIP_L_PATH saved at: {CLIP_L_PATH}")
|
41 |
|
42 |
from huggingface_hub import hf_hub_download
|
43 |
repo_id = "comfyanonymous/flux_text_encoders"
|
44 |
file_name = "t5xxl_fp8_e4m3fn.safetensors"
|
45 |
T5XXL_PATH = hf_hub_download(repo_id=repo_id, filename=file_name)
|
46 |
+
print(f"Downloaded T5XXL_PATH saved at: {T5XXL_PATH}")
|
47 |
|
48 |
from huggingface_hub import hf_hub_download
|
49 |
repo_id = "black-forest-labs/FLUX.1-dev"
|
50 |
file_name = "ae.safetensors"
|
51 |
AE_PATH = hf_hub_download(repo_id=repo_id, filename=file_name)
|
52 |
+
print(f"Downloaded AE_PATH saved at: {AE_PATH}")
|
53 |
|
54 |
from huggingface_hub import hf_hub_download
|
55 |
repo_id = "showlab/makeanything"
|
56 |
file_name = "recraft_9f_lego.safetensors"
|
57 |
LORA_WEIGHTS_PATH = hf_hub_download(repo_id=repo_id, filename=file_name)
|
58 |
+
print(f"Downloaded LORA_WEIGHTS_PATH saved at: {LORA_WEIGHTS_PATH}")
|
59 |
|
60 |
# Load model function
|
61 |
def load_target_model():
|