Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,6 +71,7 @@ def run_lora(prompt, cfg_scale, steps, selected_index, randomize_seed, seed, wid
|
|
| 71 |
return image
|
| 72 |
|
| 73 |
'''
|
|
|
|
| 74 |
#gen_btn{height: 100%}
|
| 75 |
'''
|
| 76 |
with gr.Blocks(theme=gr.themes.Soft()) as app:
|
|
@@ -79,7 +80,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
|
|
| 79 |
with gr.Row():
|
| 80 |
with gr.Column(scale=3):
|
| 81 |
prompt = gr.Textbox(label="Prompt", lines=1, placeholder="Type a prompt after selecting a LoRA")
|
| 82 |
-
with gr.Column(scale=1):
|
| 83 |
generate_button = gr.Button("Generate", variant="primary", elem_id="gen_btn")
|
| 84 |
with gr.Row():
|
| 85 |
with gr.Column(scale=3):
|
|
|
|
| 71 |
return image
|
| 72 |
|
| 73 |
'''
|
| 74 |
+
#gen_column{height: 100%}
|
| 75 |
#gen_btn{height: 100%}
|
| 76 |
'''
|
| 77 |
with gr.Blocks(theme=gr.themes.Soft()) as app:
|
|
|
|
| 80 |
with gr.Row():
|
| 81 |
with gr.Column(scale=3):
|
| 82 |
prompt = gr.Textbox(label="Prompt", lines=1, placeholder="Type a prompt after selecting a LoRA")
|
| 83 |
+
with gr.Column(scale=1, elem_id="gen_column"):
|
| 84 |
generate_button = gr.Button("Generate", variant="primary", elem_id="gen_btn")
|
| 85 |
with gr.Row():
|
| 86 |
with gr.Column(scale=3):
|