Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -257,7 +257,7 @@ with gr.Blocks(theme=theme, css="style.css") as demo:
|
|
257 |
label="Prompt",
|
258 |
show_label=False,
|
259 |
max_lines=1,
|
260 |
-
|
261 |
)
|
262 |
run_button = gr.Button("Run", scale=0)
|
263 |
result = gr.Image(label="Result", show_label=False)
|
@@ -272,6 +272,8 @@ with gr.Blocks(theme=theme, css="style.css") as demo:
|
|
272 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False)
|
273 |
use_prompt_2 = gr.Checkbox(label="Use prompt 2", value=False)
|
274 |
use_negative_prompt_2 = gr.Checkbox(label="Use negative prompt 2", value=False)
|
|
|
|
|
275 |
lora = gr.Text(label='LoRA 1', placeholder='e.g. nerijs/pixel-art-xl', visible=False)
|
276 |
lora2 = gr.Text(label='LoRA 2', placeholder='e.g. nerijs/pixel-art-xl', visible=False)
|
277 |
lora_scale = gr.Slider(
|
@@ -292,6 +294,7 @@ with gr.Blocks(theme=theme, css="style.css") as demo:
|
|
292 |
value=0.7,
|
293 |
visible=False,
|
294 |
)
|
|
|
295 |
negative_prompt = gr.Text(
|
296 |
placeholder="Input Negative Prompt",
|
297 |
label="Negative prompt",
|
|
|
257 |
label="Prompt",
|
258 |
show_label=False,
|
259 |
max_lines=1,
|
260 |
+
contain er=False,
|
261 |
)
|
262 |
run_button = gr.Button("Run", scale=0)
|
263 |
result = gr.Image(label="Result", show_label=False)
|
|
|
272 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False)
|
273 |
use_prompt_2 = gr.Checkbox(label="Use prompt 2", value=False)
|
274 |
use_negative_prompt_2 = gr.Checkbox(label="Use negative prompt 2", value=False)
|
275 |
+
with gr.Row():
|
276 |
+
gr.Markdown("""# LoRAs""")
|
277 |
lora = gr.Text(label='LoRA 1', placeholder='e.g. nerijs/pixel-art-xl', visible=False)
|
278 |
lora2 = gr.Text(label='LoRA 2', placeholder='e.g. nerijs/pixel-art-xl', visible=False)
|
279 |
lora_scale = gr.Slider(
|
|
|
294 |
value=0.7,
|
295 |
visible=False,
|
296 |
)
|
297 |
+
with gr.Row():
|
298 |
negative_prompt = gr.Text(
|
299 |
placeholder="Input Negative Prompt",
|
300 |
label="Negative prompt",
|