Spaces:
Running
on
Zero
Running
on
Zero
chore: better ui
Browse files
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 |
-
|
| 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("
|
| 211 |
-
result_w_tkg = gr.Image(label="
|
| 212 |
-
result_wo_tkg = gr.Image(label="
|
| 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 |
|