Spaces:
Running
Running
Commit
•
9590f51
1
Parent(s):
4f5b1e9
Update app.py
Browse files
app.py
CHANGED
@@ -485,9 +485,10 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
|
|
485 |
with gr.Row():
|
486 |
with gr.Column():
|
487 |
with gr.Group():
|
488 |
-
|
489 |
-
|
490 |
-
|
|
|
491 |
gr.Markdown("[Check the list of FLUX LoRAs](https://huggingface.co/models?other=base_model:adapter:black-forest-labs/FLUX.1-dev)", elem_id="lora_list")
|
492 |
gallery = gr.Gallery(
|
493 |
[(item["image"], item["title"]) for item in loras],
|
|
|
485 |
with gr.Row():
|
486 |
with gr.Column():
|
487 |
with gr.Group():
|
488 |
+
with gr.Row():
|
489 |
+
custom_lora = gr.Textbox(label="Custom LoRA", info="LoRA Hugging Face path or *.safetensors public URL", placeholder="multimodalart/vintage-ads-flux")
|
490 |
+
add_custom_lora_button = gr.Button("Add Custom LoRA")
|
491 |
+
remove_custom_lora_button = gr.Button("Remove Custom LoRA", visible=False)
|
492 |
gr.Markdown("[Check the list of FLUX LoRAs](https://huggingface.co/models?other=base_model:adapter:black-forest-labs/FLUX.1-dev)", elem_id="lora_list")
|
493 |
gallery = gr.Gallery(
|
494 |
[(item["image"], item["title"]) for item in loras],
|