Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
•
d0a0320
1
Parent(s):
a4fdf11
Update app.py
Browse files
app.py
CHANGED
@@ -175,7 +175,7 @@ with gr.Blocks() as demo:
|
|
175 |
with gr.Row():
|
176 |
src_prompt = gr.Textbox(lines=1, label="Source Prompt", interactive=True, placeholder="optional: describe the original image")
|
177 |
tar_prompt = gr.Textbox(lines=1, label="Target Prompt", interactive=True, placeholder="optional: describe the target image to edit with DDPM")
|
178 |
-
edit_concept = gr.Textbox(lines=1, label="SEGA Edit Concepts", interactive=True, placeholder="optional:
|
179 |
|
180 |
with gr.Row():
|
181 |
input_image = gr.Image(label="Input Image", interactive=True)
|
@@ -202,7 +202,7 @@ with gr.Blocks() as demo:
|
|
202 |
|
203 |
with gr.Column():
|
204 |
sega_edit_guidance = gr.Slider(value=10, label=f"SEGA Edit Guidance Scale", interactive=True)
|
205 |
-
warm_up = gr.Textbox(label=f"SEGA Warm-up Steps", interactive=True)
|
206 |
|
207 |
#shift
|
208 |
with gr.Column():
|
|
|
175 |
with gr.Row():
|
176 |
src_prompt = gr.Textbox(lines=1, label="Source Prompt", interactive=True, placeholder="optional: describe the original image")
|
177 |
tar_prompt = gr.Textbox(lines=1, label="Target Prompt", interactive=True, placeholder="optional: describe the target image to edit with DDPM")
|
178 |
+
edit_concept = gr.Textbox(lines=1, label="SEGA Edit Concepts", interactive=True, placeholder="optional: type a list of concepts to add/remove with SEGA\n (e.g. +dog,-cat,+oil painting)")
|
179 |
|
180 |
with gr.Row():
|
181 |
input_image = gr.Image(label="Input Image", interactive=True)
|
|
|
202 |
|
203 |
with gr.Column():
|
204 |
sega_edit_guidance = gr.Slider(value=10, label=f"SEGA Edit Guidance Scale", interactive=True)
|
205 |
+
warm_up = gr.Textbox(label=f"SEGA Warm-up Steps", interactive=True, placeholder="type #warm-up steps for each concpets (e.g. 2,7,5...")
|
206 |
|
207 |
#shift
|
208 |
with gr.Column():
|