Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,10 +112,10 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
| 112 |
Image manipulation with FLUX.1 Kontext adapters""")
|
| 113 |
with gr.Row():
|
| 114 |
with gr.Column():
|
| 115 |
-
input_image = gr.Image(label="
|
| 116 |
with gr.Row():
|
| 117 |
prompt = gr.Text(
|
| 118 |
-
label="Prompt",
|
| 119 |
show_label=False,
|
| 120 |
max_lines=1,
|
| 121 |
placeholder="Enter your prompt for editing (e.g., 'Remove glasses', 'Add a hat')",
|
|
@@ -157,7 +157,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
| 157 |
|
| 158 |
with gr.Row():
|
| 159 |
lora_adapter = gr.Dropdown(
|
| 160 |
-
label="
|
| 161 |
choices=["PhotoCleanser", "PhotoRestorer", "PolaroidWarm", "MonochromePencil"],
|
| 162 |
value="PhotoCleanser"
|
| 163 |
)
|
|
|
|
| 112 |
Image manipulation with FLUX.1 Kontext adapters""")
|
| 113 |
with gr.Row():
|
| 114 |
with gr.Column():
|
| 115 |
+
input_image = gr.Image(label="Image[pil]", type="pil", height="300")
|
| 116 |
with gr.Row():
|
| 117 |
prompt = gr.Text(
|
| 118 |
+
label="Edit Prompt",
|
| 119 |
show_label=False,
|
| 120 |
max_lines=1,
|
| 121 |
placeholder="Enter your prompt for editing (e.g., 'Remove glasses', 'Add a hat')",
|
|
|
|
| 157 |
|
| 158 |
with gr.Row():
|
| 159 |
lora_adapter = gr.Dropdown(
|
| 160 |
+
label="Chosen LoRA",
|
| 161 |
choices=["PhotoCleanser", "PhotoRestorer", "PolaroidWarm", "MonochromePencil"],
|
| 162 |
value="PhotoCleanser"
|
| 163 |
)
|