Spaces:
Sleeping
Sleeping
Commit
•
cad7f41
1
Parent(s):
7b45d83
Update app.py
Browse files
app.py
CHANGED
@@ -175,7 +175,7 @@ def save_preferences(lora_1_id, lora_1_scale, lora_2_id, lora_2_scale, prompt, g
|
|
175 |
with gr.Blocks(css=css) as demo:
|
176 |
shuffled_items = gr.State()
|
177 |
title = gr.HTML(
|
178 |
-
'''<h1>LoRA Roulette
|
179 |
<p>This random LoRAs are loaded into SDXL, can you find a fun way to combine them? 🎨</p>
|
180 |
''',
|
181 |
elem_id="title"
|
@@ -223,7 +223,7 @@ with gr.Blocks(css=css) as demo:
|
|
223 |
with gr.Row():
|
224 |
lora_1_scale = gr.Slider(label="LoRA 1 Scale", minimum=0, maximum=1, step=0.1, value=0.7)
|
225 |
lora_2_scale = gr.Slider(label="LoRa 2 Scale", minimum=0, maximum=1, step=0.1, value=0.7)
|
226 |
-
gr.Markdown("
|
227 |
|
228 |
demo.load(shuffle_images, inputs=[], outputs=[lora_1_link, lora_1, lora_1_prompt, lora_1_id, lora_2_link, lora_2, lora_2_prompt, lora_2_id, prompt, shuffled_items, lora_1_scale, lora_2_scale], queue=False, show_progress="hidden")
|
229 |
shuffle_button.click(shuffle_images, outputs=[lora_1_link, lora_1, lora_1_prompt, lora_1_id, lora_2_link, lora_2, lora_2_prompt, lora_2_id, prompt, shuffled_items, lora_1_scale, lora_2_scale], queue=False, show_progress="hidden")
|
|
|
175 |
with gr.Blocks(css=css) as demo:
|
176 |
shuffled_items = gr.State()
|
177 |
title = gr.HTML(
|
178 |
+
'''<h1>LoRA Roulette 🎰</h1>
|
179 |
<p>This random LoRAs are loaded into SDXL, can you find a fun way to combine them? 🎨</p>
|
180 |
''',
|
181 |
elem_id="title"
|
|
|
223 |
with gr.Row():
|
224 |
lora_1_scale = gr.Slider(label="LoRA 1 Scale", minimum=0, maximum=1, step=0.1, value=0.7)
|
225 |
lora_2_scale = gr.Slider(label="LoRa 2 Scale", minimum=0, maximum=1, step=0.1, value=0.7)
|
226 |
+
gr.Markdown("Generate with intent in [LoRA the Explorer](https://huggingface.co/spaces/multimodalart/LoraTheExplorer), but remember: sometimes restrictions flourish creativity 🌸")
|
227 |
|
228 |
demo.load(shuffle_images, inputs=[], outputs=[lora_1_link, lora_1, lora_1_prompt, lora_1_id, lora_2_link, lora_2, lora_2_prompt, lora_2_id, prompt, shuffled_items, lora_1_scale, lora_2_scale], queue=False, show_progress="hidden")
|
229 |
shuffle_button.click(shuffle_images, outputs=[lora_1_link, lora_1, lora_1_prompt, lora_1_id, lora_2_link, lora_2, lora_2_prompt, lora_2_id, prompt, shuffled_items, lora_1_scale, lora_2_scale], queue=False, show_progress="hidden")
|