John6666 commited on
Commit
51aefe8
1 Parent(s): b2351e2

Upload 5 files

Browse files
Files changed (5) hide show
  1. README.md +2 -1
  2. app.py +4 -4
  3. env.py +1 -0
  4. loras.json +33 -0
  5. requirements.txt +1 -2
README.md CHANGED
@@ -4,12 +4,13 @@ emoji: 🏆😻
4
  colorFrom: red
5
  colorTo: pink
6
  sdk: gradio
7
- sdk_version: 5.0.1
8
  app_file: app.py
9
  pinned: true
10
  license: mit
11
  duplicated_from:
12
  - multimodalart/flux-lora-the-explorer
 
13
  - gokaygokay/FLUX-Prompt-Generator
14
  - jiuface/FLUX.1-dev-Controlnet-Union
15
  - DamarJati/FLUX.1-DEV-Canny
 
4
  colorFrom: red
5
  colorTo: pink
6
  sdk: gradio
7
+ sdk_version: 5.0.2
8
  app_file: app.py
9
  pinned: true
10
  license: mit
11
  duplicated_from:
12
  - multimodalart/flux-lora-the-explorer
13
+ - multimodalart/flux-lora-lab
14
  - gokaygokay/FLUX-Prompt-Generator
15
  - jiuface/FLUX.1-dev-Controlnet-Union
16
  - DamarJati/FLUX.1-DEV-Canny
app.py CHANGED
@@ -185,8 +185,8 @@ def update_selection(evt: gr.SelectData, selected_indices, loras_state, width, h
185
  def remove_lora_1(selected_indices, loras_state):
186
  if len(selected_indices) >= 1:
187
  selected_indices.pop(0)
188
- selected_info_1 = "Select a LoRA 1"
189
- selected_info_2 = "Select a LoRA 2"
190
  lora_scale_1 = 1.15
191
  lora_scale_2 = 1.15
192
  lora_image_1 = None
@@ -204,8 +204,8 @@ def remove_lora_1(selected_indices, loras_state):
204
  def remove_lora_2(selected_indices, loras_state):
205
  if len(selected_indices) >= 2:
206
  selected_indices.pop(1)
207
- selected_info_1 = "Select a LoRA 1"
208
- selected_info_2 = "Select a LoRA 2"
209
  lora_scale_1 = 1.15
210
  lora_scale_2 = 1.15
211
  lora_image_1 = None
 
185
  def remove_lora_1(selected_indices, loras_state):
186
  if len(selected_indices) >= 1:
187
  selected_indices.pop(0)
188
+ selected_info_1 = "Select LoRA 1"
189
+ selected_info_2 = "Select LoRA 2"
190
  lora_scale_1 = 1.15
191
  lora_scale_2 = 1.15
192
  lora_image_1 = None
 
204
  def remove_lora_2(selected_indices, loras_state):
205
  if len(selected_indices) >= 2:
206
  selected_indices.pop(1)
207
+ selected_info_1 = "Select LoRA 1"
208
+ selected_info_2 = "Select LoRA 2"
209
  lora_scale_1 = 1.15
210
  lora_scale_2 = 1.15
211
  lora_image_1 = None
env.py CHANGED
@@ -37,6 +37,7 @@ models = [
37
  "John6666/xe-figure-flux-01-fp8-flux",
38
  "John6666/xe-pixel-flux-01-fp8-flux",
39
  "John6666/xe-guoman-flux-02-fp8-flux",
 
40
  "John6666/carnival-unchained-v10-fp8-flux",
41
  "John6666/real-flux-10b-schnell-fp8-flux",
42
  "John6666/fluxunchained-artfulnsfw-fut516xfp8e4m3fnv11-fp8-flux",
 
37
  "John6666/xe-figure-flux-01-fp8-flux",
38
  "John6666/xe-pixel-flux-01-fp8-flux",
39
  "John6666/xe-guoman-flux-02-fp8-flux",
40
+ "terminusresearch/flux-booru-v0.2",
41
  "John6666/carnival-unchained-v10-fp8-flux",
42
  "John6666/real-flux-10b-schnell-fp8-flux",
43
  "John6666/fluxunchained-artfulnsfw-fut516xfp8e4m3fnv11-fp8-flux",
loras.json CHANGED
@@ -47,6 +47,12 @@
47
  "trigger_word": ", l0w-r3z",
48
  "title": "Low Res 3D"
49
  },
 
 
 
 
 
 
50
  {
51
  "image": "https://huggingface.co/renderartist/simplevectorflux/resolve/main/images/ComfyUI_09477_.jpeg",
52
  "title": "Simple Vector",
@@ -111,6 +117,12 @@
111
  "trigger_word": "JojosoStyle",
112
  "trigger_position": "prepend"
113
  },
 
 
 
 
 
 
114
  {
115
  "image": "https://huggingface.co/multimodalart/vintage-ads-flux/resolve/main/samples/j_XNU6Oe0mgttyvf9uPb3_dc244dd3d6c246b4aff8351444868d66.png",
116
  "title": "Vintage Ads",
@@ -199,6 +211,13 @@
199
  "repo": "dataautogpt3/FLUX-SyntheticAnime",
200
  "trigger_word": "1980s anime screengrab, VHS quality"
201
  },
 
 
 
 
 
 
 
202
  {
203
  "image": "https://replicate.delivery/yhqm/QD8Ioy5NExqSCtBS8hG04XIRQZFaC9pxJemINT1bibyjZfSTA/out-0.webp",
204
  "title": "80s Cyberpunk",
@@ -212,6 +231,20 @@
212
  "repo": "kudzueye/boreal-flux-dev-v2",
213
  "trigger_word": "phone photo"
214
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
  {
216
  "image": "https://huggingface.co/martintomov/retrofuturism-flux/resolve/main/images/2e40deba-858e-454f-ae1c-d1ba2adb6a65.jpeg",
217
  "title": "Retrofuturism Flux",
 
47
  "trigger_word": ", l0w-r3z",
48
  "title": "Low Res 3D"
49
  },
50
+ {
51
+ "repo": "Purz/vhs-box",
52
+ "image": "https://huggingface.co/Purz/vhs-box/resolve/main/33726559.jpeg",
53
+ "trigger_word": ", vhs_box",
54
+ "title": "VHS Box"
55
+ },
56
  {
57
  "image": "https://huggingface.co/renderartist/simplevectorflux/resolve/main/images/ComfyUI_09477_.jpeg",
58
  "title": "Simple Vector",
 
117
  "trigger_word": "JojosoStyle",
118
  "trigger_position": "prepend"
119
  },
120
+ {
121
+ "image": "https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/picture-6-rev1.png?raw=true",
122
+ "title": "flux-Realism",
123
+ "repo": "XLabs-AI/flux-RealismLora",
124
+ "trigger_word": ""
125
+ },
126
  {
127
  "image": "https://huggingface.co/multimodalart/vintage-ads-flux/resolve/main/samples/j_XNU6Oe0mgttyvf9uPb3_dc244dd3d6c246b4aff8351444868d66.png",
128
  "title": "Vintage Ads",
 
211
  "repo": "dataautogpt3/FLUX-SyntheticAnime",
212
  "trigger_word": "1980s anime screengrab, VHS quality"
213
  },
214
+ {
215
+ "image": "https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/result_14.png?raw=true",
216
+ "title": "flux-anime",
217
+ "repo": "XLabs-AI/flux-lora-collection",
218
+ "weights": "anime_lora.safetensors",
219
+ "trigger_word": ", anime"
220
+ },
221
  {
222
  "image": "https://replicate.delivery/yhqm/QD8Ioy5NExqSCtBS8hG04XIRQZFaC9pxJemINT1bibyjZfSTA/out-0.webp",
223
  "title": "80s Cyberpunk",
 
231
  "repo": "kudzueye/boreal-flux-dev-v2",
232
  "trigger_word": "phone photo"
233
  },
234
+ {
235
+ "image": "https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/result_18.png?raw=true",
236
+ "title": "flux-disney",
237
+ "repo": "XLabs-AI/flux-lora-collection",
238
+ "weights": "disney_lora.safetensors",
239
+ "trigger_word": ", disney style"
240
+ },
241
+ {
242
+ "image": "https://github.com/XLabs-AI/x-flux/blob/main/assets/readme/examples/result_23.png?raw=true",
243
+ "title": "flux-art",
244
+ "repo": "XLabs-AI/flux-lora-collection",
245
+ "weights": "art_lora.safetensors",
246
+ "trigger_word": ", art"
247
+ },
248
  {
249
  "image": "https://huggingface.co/martintomov/retrofuturism-flux/resolve/main/images/2e40deba-858e-454f-ae1c-d1ba2adb6a65.jpeg",
250
  "title": "Retrofuturism Flux",
requirements.txt CHANGED
@@ -1,6 +1,5 @@
1
- spaces>=0.30.3
2
  torch
3
- git+https://github.com/huggingface/diffusers.git@1131e3d04e3131f4c24565257665d75364d696d9
4
  git+https://github.com/huggingface/transformers.git
5
  git+https://github.com/huggingface/peft.git
6
  sentencepiece
 
 
1
  torch
2
+ git+https://github.com/huggingface/diffusers.git@4010c45e08a15658cf51cb115c7db435cd6c52a1
3
  git+https://github.com/huggingface/transformers.git
4
  git+https://github.com/huggingface/peft.git
5
  sentencepiece