Spaces:
Runtime error
Runtime error
prithivMLmods
commited on
Commit
•
de637ec
1
Parent(s):
f2f5274
Update app.py
Browse files
app.py
CHANGED
@@ -27,6 +27,16 @@ from huggingface_hub import (
|
|
27 |
|
28 |
import spaces
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
def calculate_shift(
|
31 |
image_seq_len,
|
32 |
base_seq_len: int = 256,
|
@@ -1059,7 +1069,16 @@ loras = [
|
|
1059 |
"repo": "renderartist/retrocomicflux",
|
1060 |
"weights": "Retro_Comic_Flux_v1_renderartist.safetensors",
|
1061 |
"trigger_word": "comic book panel"
|
1062 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1063 |
|
1064 |
#add new
|
1065 |
]
|
|
|
27 |
|
28 |
import spaces
|
29 |
|
30 |
+
#---if env = local or colab---
|
31 |
+
|
32 |
+
# Authenticate with Hugging Face
|
33 |
+
# from huggingface_hub import login
|
34 |
+
|
35 |
+
# Log in to Hugging Face using the provided token
|
36 |
+
# hf_token = 'hf-token-authentication'
|
37 |
+
# login(hf_token)
|
38 |
+
|
39 |
+
|
40 |
def calculate_shift(
|
41 |
image_seq_len,
|
42 |
base_seq_len: int = 256,
|
|
|
1069 |
"repo": "renderartist/retrocomicflux",
|
1070 |
"weights": "Retro_Comic_Flux_v1_renderartist.safetensors",
|
1071 |
"trigger_word": "comic book panel"
|
1072 |
+
},
|
1073 |
+
#114
|
1074 |
+
{
|
1075 |
+
"image": "https://huggingface.co/renderartist/retrocomicflux/resolve/main/images/ComfyUI_temp_ipugi_00040_.png",
|
1076 |
+
"title": "Halloween Flux",
|
1077 |
+
"repo": "prithivMLmods/Castor-Happy-Halloween-Flux-LoRA",
|
1078 |
+
"weights": "Castor-Happy-Halloween-Flux-LoRA.safetensors",
|
1079 |
+
"trigger_word": "happy halloween"
|
1080 |
+
},
|
1081 |
+
#115
|
1082 |
|
1083 |
#add new
|
1084 |
]
|