multimodalart HF staff commited on
Commit
90a23cf
1 Parent(s): 6397acd

fix share position

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -186,13 +186,13 @@ with gr.Blocks(css="custom.css") as demo:
186
  visible=True,
187
  elem_id="selected_lora",
188
  )
 
 
 
189
  with gr.Group(elem_id="share-btn-container", visible=False) as share_group:
190
  community_icon = gr.HTML(community_icon_html)
191
  loading_icon = gr.HTML(loading_icon_html)
192
  share_button = gr.Button("Share to community", elem_id="share-btn")
193
- with gr.Row():
194
- prompt = gr.Textbox(label="Prompt", show_label=False, lines=1, max_lines=1, placeholder="Type a prompt after selecting a LoRA", elem_id="prompt")
195
- button = gr.Button("Run", elem_id="run_button")
196
  result = gr.Image(
197
  interactive=False, label="Generated Image", elem_id="result-image"
198
  )
 
186
  visible=True,
187
  elem_id="selected_lora",
188
  )
189
+ with gr.Row():
190
+ prompt = gr.Textbox(label="Prompt", show_label=False, lines=1, max_lines=1, placeholder="Type a prompt after selecting a LoRA", elem_id="prompt")
191
+ button = gr.Button("Run", elem_id="run_button")
192
  with gr.Group(elem_id="share-btn-container", visible=False) as share_group:
193
  community_icon = gr.HTML(community_icon_html)
194
  loading_icon = gr.HTML(loading_icon_html)
195
  share_button = gr.Button("Share to community", elem_id="share-btn")
 
 
 
196
  result = gr.Image(
197
  interactive=False, label="Generated Image", elem_id="result-image"
198
  )