Spaces:
Running on Zero
Running on Zero
update app ✅
Browse files
app.py
CHANGED
|
@@ -225,7 +225,7 @@ css = """
|
|
| 225 |
|
| 226 |
with gr.Blocks() as demo:
|
| 227 |
with gr.Column(elem_id="col-container"):
|
| 228 |
-
gr.Markdown("# **FireRed-Image-Edit-1.0-
|
| 229 |
gr.Markdown("Perform image edits using [FireRed-Image-Edit-1.0](https://huggingface.co/FireRedTeam/FireRed-Image-Edit-1.0) with 4-step fast inference.")
|
| 230 |
|
| 231 |
with gr.Row(equal_height=True):
|
|
@@ -248,9 +248,9 @@ with gr.Blocks() as demo:
|
|
| 248 |
run_button = gr.Button("Edit Image", variant="primary")
|
| 249 |
|
| 250 |
with gr.Column():
|
| 251 |
-
output_image = gr.Image(label="Output Image", interactive=False, format="png", height=
|
| 252 |
|
| 253 |
-
with gr.Accordion("Advanced Settings", open=False):
|
| 254 |
seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0)
|
| 255 |
randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
|
| 256 |
guidance_scale = gr.Slider(label="Guidance Scale", minimum=1.0, maximum=10.0, step=0.1, value=1.0)
|
|
|
|
| 225 |
|
| 226 |
with gr.Blocks() as demo:
|
| 227 |
with gr.Column(elem_id="col-container"):
|
| 228 |
+
gr.Markdown("# **FireRed-Image-Edit-1.0-Fast**", elem_id="main-title")
|
| 229 |
gr.Markdown("Perform image edits using [FireRed-Image-Edit-1.0](https://huggingface.co/FireRedTeam/FireRed-Image-Edit-1.0) with 4-step fast inference.")
|
| 230 |
|
| 231 |
with gr.Row(equal_height=True):
|
|
|
|
| 248 |
run_button = gr.Button("Edit Image", variant="primary")
|
| 249 |
|
| 250 |
with gr.Column():
|
| 251 |
+
output_image = gr.Image(label="Output Image", interactive=False, format="png", height=395)
|
| 252 |
|
| 253 |
+
with gr.Accordion("Advanced Settings", open=False, visible=False):
|
| 254 |
seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0)
|
| 255 |
randomize_seed = gr.Checkbox(label="Randomize Seed", value=True)
|
| 256 |
guidance_scale = gr.Slider(label="Guidance Scale", minimum=1.0, maximum=10.0, step=0.1, value=1.0)
|