p1atdev commited on
Commit
7cfb22a
Β·
1 Parent(s): 7c61bf1

chore: better ui

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -142,10 +142,8 @@ TKG-DMπŸ₯šπŸš: Training-free Chroma Key Content Generation Diffusion Model
142
  with gr.Column():
143
  prompt = gr.Text(
144
  label="Prompt",
145
- show_label=False,
146
- max_lines=1,
147
  placeholder="Enter your prompt",
148
- container=False,
149
  )
150
  negative_prompt = gr.Textbox(
151
  label="Negative prompt",
@@ -207,9 +205,9 @@ TKG-DMπŸ₯šπŸš: Training-free Chroma Key Content Generation Diffusion Model
207
  )
208
 
209
  with gr.Column():
210
- run_button = gr.Button("Run", scale=0, variant="primary")
211
- result_w_tkg = gr.Image(label="Result", show_label=False)
212
- result_wo_tkg = gr.Image(label="Result", show_label=False)
213
 
214
 
215
 
 
142
  with gr.Column():
143
  prompt = gr.Text(
144
  label="Prompt",
145
+ max_lines=4,
 
146
  placeholder="Enter your prompt",
 
147
  )
148
  negative_prompt = gr.Textbox(
149
  label="Negative prompt",
 
205
  )
206
 
207
  with gr.Column():
208
+ run_button = gr.Button("Generate", variant="primary")
209
+ result_w_tkg = gr.Image(label="with TKG")
210
+ result_wo_tkg = gr.Image(label="without TKG")
211
 
212
 
213