Spaces:
Runtime error
Runtime error
Linoy Tsaban
commited on
Commit
•
853c8df
1
Parent(s):
6427ba4
Update app.py
Browse files
app.py
CHANGED
@@ -233,7 +233,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
233 |
|
234 |
with gr.Row():
|
235 |
input_image = gr.Image(label="Input Image", interactive=True)
|
236 |
-
ddpm_edited_image = gr.Image(label=f"DDPM Reconstructed Image", interactive=False)
|
237 |
sega_edited_image = gr.Image(label=f"DDPM + SEGA Edited Image", interactive=False)
|
238 |
input_image.style(height=512, width=512)
|
239 |
ddpm_edited_image.style(height=512, width=512)
|
@@ -241,7 +241,11 @@ with gr.Blocks(css='style.css') as demo:
|
|
241 |
|
242 |
with gr.Row():
|
243 |
tar_prompt = gr.Textbox(lines=1, label="Target Prompt", interactive=True, placeholder="")
|
244 |
-
|
|
|
|
|
|
|
|
|
245 |
|
246 |
with gr.Row():
|
247 |
with gr.Column(scale=1, min_width=100):
|
|
|
233 |
|
234 |
with gr.Row():
|
235 |
input_image = gr.Image(label="Input Image", interactive=True)
|
236 |
+
ddpm_edited_image = gr.Image(label=f"DDPM Reconstructed Image", interactive=False, visible=False)
|
237 |
sega_edited_image = gr.Image(label=f"DDPM + SEGA Edited Image", interactive=False)
|
238 |
input_image.style(height=512, width=512)
|
239 |
ddpm_edited_image.style(height=512, width=512)
|
|
|
241 |
|
242 |
with gr.Row():
|
243 |
tar_prompt = gr.Textbox(lines=1, label="Target Prompt", interactive=True, placeholder="")
|
244 |
+
with gr.Accordion("SEGA Concepts", open=False):
|
245 |
+
with gr.Column(scale=1, min_width=100):
|
246 |
+
edit_concept = gr.Textbox(lines=1, label="SEGA Edit Concepts", visible = True, interactive=True)
|
247 |
+
# with gr.Column(scale=1, min_width=100):
|
248 |
+
|
249 |
|
250 |
with gr.Row():
|
251 |
with gr.Column(scale=1, min_width=100):
|