artificialguybr
commited on
Commit
•
3b1abe2
1
Parent(s):
06fd0d1
Update app.py
Browse files
app.py
CHANGED
@@ -39,16 +39,15 @@ gallery = gr.Gallery(
|
|
39 |
label="LoRA Gallery",
|
40 |
allow_preview=False,
|
41 |
columns=3,
|
42 |
-
name="gallery" # Add a name for the gallery component
|
43 |
)
|
44 |
|
45 |
-
prompt = gr.Textbox(label="Prompt", lines=1, max_lines=1, placeholder="Type a prompt after selecting a LoRA"
|
46 |
|
47 |
-
advanced_options = gr.Accordion("Advanced options", open=False
|
48 |
|
49 |
-
weight = gr.Slider(0, 10, value=1, step=0.1, label="LoRA weight"
|
50 |
|
51 |
-
result = gr.Image(interactive=False, label="Generated Image"
|
52 |
|
53 |
gr.Interface(
|
54 |
fn=run_lora,
|
|
|
39 |
label="LoRA Gallery",
|
40 |
allow_preview=False,
|
41 |
columns=3,
|
|
|
42 |
)
|
43 |
|
44 |
+
prompt = gr.Textbox(label="Prompt", lines=1, max_lines=1, placeholder="Type a prompt after selecting a LoRA")
|
45 |
|
46 |
+
advanced_options = gr.Accordion("Advanced options", open=False)
|
47 |
|
48 |
+
weight = gr.Slider(0, 10, value=1, step=0.1, label="LoRA weight")
|
49 |
|
50 |
+
result = gr.Image(interactive=False, label="Generated Image")
|
51 |
|
52 |
gr.Interface(
|
53 |
fn=run_lora,
|