LPX
commited on
Commit
·
52ba0af
1
Parent(s):
0457419
docs: streamline docstring for Bit Plane Extractor interface by removing redundancy and enhancing readability
Browse files- app_mcp.py +8 -10
app_mcp.py
CHANGED
@@ -567,18 +567,16 @@ with gr.Blocks(css="#post-gallery { overflow: hidden !important;} .grid-wrap{ ov
|
|
567 |
api_name="/tool_waveletnoise"
|
568 |
)
|
569 |
|
570 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
571 |
with gr.Tab("Bit Plane Values", visible=False):
|
572 |
-
"""Forensics Tool: Bit Plane Extractor
|
573 |
-
|
574 |
-
Args:
|
575 |
-
image: PIL Image to analyze
|
576 |
-
channel: Color channel to extract bit plane from ("Luminance", "Red", "Green", "Blue", "RGB Norm")
|
577 |
-
bit_plane: Bit plane index to extract (0-7)
|
578 |
-
filter_type: Filter to apply ("Disabled", "Median", "Gaussian")
|
579 |
-
"""
|
580 |
gr.Interface(
|
581 |
-
|
582 |
fn=bit_plane_extractor,
|
583 |
inputs=[
|
584 |
gr.Image(type="pil"),
|
|
|
567 |
api_name="/tool_waveletnoise"
|
568 |
)
|
569 |
|
570 |
+
"""Forensics Tool: Bit Plane Extractor
|
571 |
+
|
572 |
+
Args:
|
573 |
+
image: PIL Image to analyze
|
574 |
+
channel: Color channel to extract bit plane from ("Luminance", "Red", "Green", "Blue", "RGB Norm")
|
575 |
+
bit_plane: Bit plane index to extract (0-7)
|
576 |
+
filter_type: Filter to apply ("Disabled", "Median", "Gaussian")
|
577 |
+
"""
|
578 |
with gr.Tab("Bit Plane Values", visible=False):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
579 |
gr.Interface(
|
|
|
580 |
fn=bit_plane_extractor,
|
581 |
inputs=[
|
582 |
gr.Image(type="pil"),
|