ovi054 commited on
Commit
724b53f
1 Parent(s): 5cc975a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -105,8 +105,8 @@ css = """
105
 
106
  with gr.Blocks(css=css) as app:
107
  gr.HTML("<center><h1>FLUX.1-Dev with LoRA support</h1></center>")
108
- with gr.Row(elem_id="app-container"):
109
- with gr.Column():
110
  with gr.Column(elem_id="prompt-container"):
111
  with gr.Row():
112
  text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=2, elem_id="prompt-text-input")
@@ -127,11 +127,11 @@ with gr.Blocks(css=css) as app:
127
  with gr.Row():
128
  # text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
129
  text_button = gr.Button("✨ Generate Image", variant='primary', elem_classes=["generate-btn"])
130
- with gr.Column():
131
- with gr.Row():
132
- image_output = gr.Image(type="pil", label="Image Output", elem_id="gallery")
133
- with gr.Row():
134
- seed_output = gr.Textbox(label="Seed Used", show_copy_button = True)
135
 
136
  gr.Markdown(article_text)
137
 
 
105
 
106
  with gr.Blocks(css=css) as app:
107
  gr.HTML("<center><h1>FLUX.1-Dev with LoRA support</h1></center>")
108
+ with gr.Column(elem_id="app-container"):
109
+ with gr.Row():
110
  with gr.Column(elem_id="prompt-container"):
111
  with gr.Row():
112
  text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=2, elem_id="prompt-text-input")
 
127
  with gr.Row():
128
  # text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
129
  text_button = gr.Button("✨ Generate Image", variant='primary', elem_classes=["generate-btn"])
130
+ with gr.Column():
131
+ with gr.Row():
132
+ image_output = gr.Image(type="pil", label="Image Output", elem_id="gallery")
133
+ with gr.Row():
134
+ seed_output = gr.Textbox(label="Seed Used", show_copy_button = True)
135
 
136
  gr.Markdown(article_text)
137