Update app.py
Browse files
app.py
CHANGED
|
@@ -326,13 +326,13 @@ with gr.Blocks(css=custom_css, title="Jewellery Photography Preview") as demo:
|
|
| 326 |
info = gr.Markdown(value="...")
|
| 327 |
with gr.Row():
|
| 328 |
run_btn = gr.Button("π―Β Generate", elem_id="button", variant="primary")
|
| 329 |
-
with gr.
|
| 330 |
-
with gr.
|
| 331 |
-
info1 = gr.Markdown(value="### Detection overlay")
|
| 332 |
-
out_overlay = gr.Image(height=400)
|
| 333 |
-
with gr.Column():
|
| 334 |
info2 = gr.Markdown(value="### Final result")
|
| 335 |
out_bg = gr.Image(height=400)
|
|
|
|
|
|
|
|
|
|
| 336 |
out_status = gr.Text(label="Status", interactive=False)
|
| 337 |
# ββββββββ Footer ββββββββ
|
| 338 |
gr.HTML("""
|
|
|
|
| 326 |
info = gr.Markdown(value="...")
|
| 327 |
with gr.Row():
|
| 328 |
run_btn = gr.Button("π―Β Generate", elem_id="button", variant="primary")
|
| 329 |
+
with gr.tabs():
|
| 330 |
+
with gr.TabItem():
|
|
|
|
|
|
|
|
|
|
| 331 |
info2 = gr.Markdown(value="### Final result")
|
| 332 |
out_bg = gr.Image(height=400)
|
| 333 |
+
with gr.TabItem():
|
| 334 |
+
info1 = gr.Markdown(value="### Detection overlay")
|
| 335 |
+
out_overlay = gr.Image(height=400)
|
| 336 |
out_status = gr.Text(label="Status", interactive=False)
|
| 337 |
# ββββββββ Footer ββββββββ
|
| 338 |
gr.HTML("""
|