Spaces:
Runtime error
Runtime error
Linoy Tsaban
commited on
Commit
•
330dade
1
Parent(s):
05c3263
Update app.py
Browse files
app.py
CHANGED
@@ -315,12 +315,13 @@ with gr.Blocks(css='style.css') as demo:
|
|
315 |
with gr.Tabs() as tabs:
|
316 |
with gr.TabItem('1. Describe the desired output', id=0):
|
317 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
318 |
-
|
319 |
label="Edit Concept",
|
320 |
show_label=False,
|
321 |
max_lines=1,
|
322 |
placeholder="Enter your 1st edit prompt",
|
323 |
)
|
|
|
324 |
with gr.TabItem('2. Add SEGA edit concepts', id=1):
|
325 |
# 1st SEGA concept
|
326 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
@@ -368,8 +369,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
368 |
|
369 |
|
370 |
with gr.Row():
|
371 |
-
|
372 |
-
run_button = gr.Button("Run")
|
373 |
reconstruct_button = gr.Button("Show Reconstruction", visible=False)
|
374 |
hide_reconstruct_button = gr.Button("Hide Reconstruction", visible=False)
|
375 |
|
|
|
315 |
with gr.Tabs() as tabs:
|
316 |
with gr.TabItem('1. Describe the desired output', id=0):
|
317 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
318 |
+
tar_prompt = gr.Textbox(
|
319 |
label="Edit Concept",
|
320 |
show_label=False,
|
321 |
max_lines=1,
|
322 |
placeholder="Enter your 1st edit prompt",
|
323 |
)
|
324 |
+
caption_button = gr.Button("Caption Image").style(size='sm')
|
325 |
with gr.TabItem('2. Add SEGA edit concepts', id=1):
|
326 |
# 1st SEGA concept
|
327 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
|
|
369 |
|
370 |
|
371 |
with gr.Row():
|
372 |
+
run_button = gr.Button("Edit")
|
|
|
373 |
reconstruct_button = gr.Button("Show Reconstruction", visible=False)
|
374 |
hide_reconstruct_button = gr.Button("Hide Reconstruction", visible=False)
|
375 |
|