Astridkraft commited on
Commit
99562c8
·
verified ·
1 Parent(s): eb80db4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +28 -5
app.py CHANGED
@@ -1531,19 +1531,42 @@ def main_ui():
1531
  )
1532
 
1533
  transform_btn = gr.Button("🔄 Bild transformieren", variant="primary")
1534
-
 
1535
  with gr.Row():
1536
  img_output = gr.Image(
1537
- label="✨ Transformiertes Bild (512×512 - SD-Technologie-Limit)",
1538
  show_download_button=True,
1539
  type="pil",
1540
  height=400
1541
  )
1542
- mask_output = gr.Image(
1543
- label="🔍 Debug: SAM-Maske (Person sollte SCHWARZ sein)",
 
 
1544
  type="pil",
1545
- height=400
 
 
 
 
 
 
 
1546
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
1547
 
1548
 
1549
 
 
1531
  )
1532
 
1533
  transform_btn = gr.Button("🔄 Bild transformieren", variant="primary")
1534
+
1535
+
1536
  with gr.Row():
1537
  img_output = gr.Image(
1538
+ label="✨ Transformiertes Bild",
1539
  show_download_button=True,
1540
  type="pil",
1541
  height=400
1542
  )
1543
+
1544
+ with gr.Row():
1545
+ sam_raw_mask_output = gr.Image(
1546
+ label="🔍 SAM-Rohmaske (Vor Nachbearbeitung)",
1547
  type="pil",
1548
+ height=300,
1549
+ show_download_button=False
1550
+ )
1551
+ processed_mask_output = gr.Image(
1552
+ label="🛠️ Nachbearbeitete Maske (Für Inpainting)",
1553
+ type="pil",
1554
+ height=300,
1555
+ show_download_button=False
1556
  )
1557
+
1558
+ #with gr.Row():
1559
+ # img_output = gr.Image(
1560
+ # label="✨ Transformiertes Bild (512×512 - SD-Technologie-Limit)",
1561
+ # show_download_button=True,
1562
+ # type="pil",
1563
+ # height=400
1564
+ # )
1565
+ # mask_output = gr.Image(
1566
+ # label="🔍 Debug: SAM-Maske (Person sollte SCHWARZ sein)",
1567
+ # type="pil",
1568
+ # height=400
1569
+ # )
1570
 
1571
 
1572