Spaces:
Runtime error
Runtime error
Commit
·
f232d9c
1
Parent(s):
422e863
Update app.py
Browse files
app.py
CHANGED
@@ -323,7 +323,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
323 |
gr_picked_lora = gr.State()
|
324 |
spooky_concept = gr.State()
|
325 |
with gr.Row():
|
326 |
-
input_image = gr.Image(label="Input Image", interactive=True, source="webcam",
|
327 |
with gr.Column(elem_classes="output_column") as output_column:
|
328 |
with gr.Row(visible=False) as loaded_lora:
|
329 |
lora_image = gr.Image(interactive=False, height=128, width=128, elem_id="lora_image", show_label=False, show_download_button=False)
|
@@ -332,8 +332,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
332 |
with gr.Column(visible=False) as buttons_area:
|
333 |
with gr.Row(elem_id="buttons_area"):
|
334 |
#print_button = gr.HTML('<button onclick="window.print()" class="lg secondary svelte-cmf5ev" id="print" style="width: 100%;margin-bottom:0">Save PDF/Print 🖨️</button>')
|
335 |
-
run_button = gr.Button("Regenerate with the same picture
|
336 |
-
|
337 |
|
338 |
with gr.Accordion("Tired of randomizing? Pick your prompt and LoRA", open=False, elem_id="pick", ):
|
339 |
choose_prompt = gr.Textbox(label="Spooky Prompt", value="")
|
|
|
323 |
gr_picked_lora = gr.State()
|
324 |
spooky_concept = gr.State()
|
325 |
with gr.Row():
|
326 |
+
input_image = gr.Image(label="Input Image", interactive=True, source="webcam", height=405, elem_id="input_image")
|
327 |
with gr.Column(elem_classes="output_column") as output_column:
|
328 |
with gr.Row(visible=False) as loaded_lora:
|
329 |
lora_image = gr.Image(interactive=False, height=128, width=128, elem_id="lora_image", show_label=False, show_download_button=False)
|
|
|
332 |
with gr.Column(visible=False) as buttons_area:
|
333 |
with gr.Row(elem_id="buttons_area"):
|
334 |
#print_button = gr.HTML('<button onclick="window.print()" class="lg secondary svelte-cmf5ev" id="print" style="width: 100%;margin-bottom:0">Save PDF/Print 🖨️</button>')
|
335 |
+
run_button = gr.Button("Regenerate with the same picture 🖼️ 🎲", elem_id="run_again")
|
|
|
336 |
|
337 |
with gr.Accordion("Tired of randomizing? Pick your prompt and LoRA", open=False, elem_id="pick", ):
|
338 |
choose_prompt = gr.Textbox(label="Spooky Prompt", value="")
|