jiuface commited on
Commit
77f9882
1 Parent(s): 4a5e288

add test lora

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. loras.json +7 -0
app.py CHANGED
@@ -56,7 +56,7 @@ def update_selection(evt: gr.SelectData, width, height):
56
  height,
57
  )
58
 
59
- @spaces.GPU(duration=70)
60
  def generate_image(prompt, trigger_word, steps, seed, cfg_scale, width, height, lora_scale, progress):
61
  pipe.to("cuda")
62
  generator = torch.Generator(device="cuda").manual_seed(seed)
 
56
  height,
57
  )
58
 
59
+ @spaces.GPU(duration=120)
60
  def generate_image(prompt, trigger_word, steps, seed, cfg_scale, width, height, lora_scale, progress):
61
  pipe.to("cuda")
62
  generator = torch.Generator(device="cuda").manual_seed(seed)
loras.json CHANGED
@@ -1,4 +1,11 @@
1
  [
 
 
 
 
 
 
 
2
  {
3
  "image": "https://huggingface.co/multimodalart/flux-tarot-v1/resolve/main/images/e5f2761e5d474e6ba492d20dca0fa26f_e78f1524074b42b6ac49643ffad50ac6.png",
4
  "title": "Tarot v1",
 
1
  [
2
+ {
3
+ "image": "https://huggingface.co/multimodalart/flux-tarot-v1/resolve/main/images/e5f2761e5d474e6ba492d20dca0fa26f_e78f1524074b42b6ac49643ffad50ac6.png",
4
+ "title": "Boy v1",
5
+ "repo": "jiuface/boy-001",
6
+ "weights": "flux_train_replicate.safetensors",
7
+ "trigger_word": "a photo of TOK"
8
+ },
9
  {
10
  "image": "https://huggingface.co/multimodalart/flux-tarot-v1/resolve/main/images/e5f2761e5d474e6ba492d20dca0fa26f_e78f1524074b42b6ac49643ffad50ac6.png",
11
  "title": "Tarot v1",