Spaces:
Running
Running
Commit
•
1fff27d
1
Parent(s):
d6802e8
Update app.py
Browse files
app.py
CHANGED
@@ -67,21 +67,21 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
|
|
67 |
with gr.Column(scale=1):
|
68 |
generate_button = gr.Button("Generate", variant="primary")
|
69 |
with gr.Row():
|
70 |
-
with gr.Column(scale=2):
|
71 |
-
result = gr.Image(label="Generated Image", height=768)
|
72 |
-
|
73 |
with gr.Column(scale=1):
|
|
|
74 |
gallery = gr.Gallery(
|
75 |
[(item["image"], item["title"]) for item in loras],
|
76 |
label="LoRA Gallery",
|
77 |
allow_preview=False,
|
78 |
columns=2
|
79 |
)
|
|
|
|
|
|
|
80 |
|
81 |
with gr.Row():
|
82 |
-
with gr.Column():
|
83 |
-
prompt_title = gr.Markdown("### Click on a LoRA in the gallery to select it")
|
84 |
-
selected_info = gr.Markdown("")
|
85 |
#negative_prompt = gr.Textbox(label="Negative Prompt", lines=2, value="low quality, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry")
|
86 |
|
87 |
with gr.Column():
|
|
|
67 |
with gr.Column(scale=1):
|
68 |
generate_button = gr.Button("Generate", variant="primary")
|
69 |
with gr.Row():
|
|
|
|
|
|
|
70 |
with gr.Column(scale=1):
|
71 |
+
selected_info = gr.Markdown("")
|
72 |
gallery = gr.Gallery(
|
73 |
[(item["image"], item["title"]) for item in loras],
|
74 |
label="LoRA Gallery",
|
75 |
allow_preview=False,
|
76 |
columns=2
|
77 |
)
|
78 |
+
|
79 |
+
with gr.Column(scale=2):
|
80 |
+
result = gr.Image(label="Generated Image", height=768)
|
81 |
|
82 |
with gr.Row():
|
83 |
+
#with gr.Column():
|
84 |
+
#prompt_title = gr.Markdown("### Click on a LoRA in the gallery to select it")
|
|
|
85 |
#negative_prompt = gr.Textbox(label="Negative Prompt", lines=2, value="low quality, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry")
|
86 |
|
87 |
with gr.Column():
|