multimodalart HF staff commited on
Commit
2c0f2f0
β€’
1 Parent(s): 71c1a49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -400,13 +400,13 @@ with gr.Blocks(css="custom.css") as demo:
400
  with gr.Row():
401
  prompt = gr.Textbox(label="Prompt", show_label=False, lines=1, max_lines=1, info="Describe your subject (optional)", value="A person", elem_id="prompt")
402
  button = gr.Button("Run", elem_id="run_button")
 
 
 
403
  with gr.Group(elem_id="share-btn-container", visible=False) as share_group:
404
  community_icon = gr.HTML(community_icon_html)
405
  loading_icon = gr.HTML(loading_icon_html)
406
  share_button = gr.Button("Share to community", elem_id="share-btn")
407
- result = gr.Image(
408
- interactive=False, label="Generated Image", elem_id="result-image"
409
- )
410
  with gr.Accordion("Advanced options", open=False):
411
  negative = gr.Textbox(label="Negative Prompt")
412
  weight = gr.Slider(0, 10, value=0.9, step=0.1, label="LoRA weight")
 
400
  with gr.Row():
401
  prompt = gr.Textbox(label="Prompt", show_label=False, lines=1, max_lines=1, info="Describe your subject (optional)", value="A person", elem_id="prompt")
402
  button = gr.Button("Run", elem_id="run_button")
403
+ result = gr.Image(
404
+ interactive=False, label="Generated Image", elem_id="result-image"
405
+ )
406
  with gr.Group(elem_id="share-btn-container", visible=False) as share_group:
407
  community_icon = gr.HTML(community_icon_html)
408
  loading_icon = gr.HTML(loading_icon_html)
409
  share_button = gr.Button("Share to community", elem_id="share-btn")
 
 
 
410
  with gr.Accordion("Advanced options", open=False):
411
  negative = gr.Textbox(label="Negative Prompt")
412
  weight = gr.Slider(0, 10, value=0.9, step=0.1, label="LoRA weight")