Spaces:
Running
Running
Linoy Tsaban
commited on
Commit
·
016c93c
1
Parent(s):
7fa2de8
Update app.py
Browse files
app.py
CHANGED
@@ -246,7 +246,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
246 |
|
247 |
with gr.Row():
|
248 |
input_image = gr.Image(label="Input Image", interactive=True)
|
249 |
-
ddpm_edited_image = gr.Image(label=f"DDPM Reconstructed Image", interactive=False)
|
250 |
sega_edited_image = gr.Image(label=f"DDPM + SEGA Edited Image", interactive=False)
|
251 |
input_image.style(height=512, width=512)
|
252 |
ddpm_edited_image.style(height=512, width=512)
|
@@ -254,17 +254,17 @@ with gr.Blocks(css='style.css') as demo:
|
|
254 |
|
255 |
with gr.Row():
|
256 |
tar_prompt = gr.Textbox(lines=1, label="Target Prompt", interactive=True, placeholder="")
|
257 |
-
with gr.Accordion("SEGA Concepts", open=False, visible=True):
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
|
269 |
|
270 |
with gr.Row():
|
|
|
246 |
|
247 |
with gr.Row():
|
248 |
input_image = gr.Image(label="Input Image", interactive=True)
|
249 |
+
ddpm_edited_image = gr.Image(label=f"DDPM Reconstructed Image", interactive=False, visible=False)
|
250 |
sega_edited_image = gr.Image(label=f"DDPM + SEGA Edited Image", interactive=False)
|
251 |
input_image.style(height=512, width=512)
|
252 |
ddpm_edited_image.style(height=512, width=512)
|
|
|
254 |
|
255 |
with gr.Row():
|
256 |
tar_prompt = gr.Textbox(lines=1, label="Target Prompt", interactive=True, placeholder="")
|
257 |
+
# with gr.Accordion("SEGA Concepts", open=False, visible=True):
|
258 |
+
# with gr.Column(scale=1):
|
259 |
+
# edit_concept = gr.Textbox(lines=1, label="Enter SEGA Edit Concept", visible = True, interactive=True)
|
260 |
+
# with gr.Column(scale=1):
|
261 |
+
# neg_guidance = gr.Checkbox(label="Negative Guidance", value=False)
|
262 |
+
# submit_concept = gr.Button(label="Add Concept")
|
263 |
+
# concepts_table = gr.Dataframe(
|
264 |
+
# headers=["Concepts", "Negative Guidance"],
|
265 |
+
# datatype=["str", "bool"],
|
266 |
+
# label="SEGA Concepts",
|
267 |
+
# )
|
268 |
|
269 |
|
270 |
with gr.Row():
|