Spaces:
Running
Running
add test lora
Browse files- app.py +1 -1
- 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=
|
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",
|