Spaces:
Runtime error
Runtime error
Finalize UI: SynthID Remover title, refined description, and Gradio 6 compatibility
Browse files
app.py
CHANGED
|
@@ -113,16 +113,16 @@ css = """
|
|
| 113 |
footer {display: none !important;}
|
| 114 |
"""
|
| 115 |
|
| 116 |
-
with gr.Blocks(title="SynthID
|
| 117 |
with gr.Column(elem_id="container"):
|
| 118 |
-
gr.Markdown("# SynthID
|
| 119 |
-
gr.Markdown("
|
| 120 |
|
| 121 |
with gr.Row():
|
| 122 |
with gr.Column():
|
| 123 |
input_img = gr.Image(type="pil", label="Input Image", height=512)
|
| 124 |
with gr.Column():
|
| 125 |
-
output_img = gr.Image(type="pil", label="
|
| 126 |
|
| 127 |
submit_btn = gr.Button("Remove Watermark", variant="primary")
|
| 128 |
|
|
@@ -138,7 +138,7 @@ with gr.Blocks(title="SynthID Bypass") as demo:
|
|
| 138 |
This project is a direct implementation of the research by [00quebec/Synthid-Bypass](https://github.com/00quebec/Synthid-Bypass). All credit for the discovery and the original ComfyUI workflows goes to the original authors.
|
| 139 |
|
| 140 |
### Technical Breakdown
|
| 141 |
-
The
|
| 142 |
1. **Pixel Laundering**: The image is re-rendered using the **Z-Image-Turbo (S3-DiT)** model with a low denoising factor (0.2). This replaces the watermark's subtle noise patterns with new noise from the model.
|
| 143 |
2. **Structural Guidance**: To prevent the image from changing, a **Canny ControlNet** locks in the original geometry and composition.
|
| 144 |
3. **Multi-Pass Denoising**: The process runs in three iterative stages to gently scrub away the watermark without introducing artifacts.
|
|
|
|
| 113 |
footer {display: none !important;}
|
| 114 |
"""
|
| 115 |
|
| 116 |
+
with gr.Blocks(title="SynthID Remover") as demo:
|
| 117 |
with gr.Column(elem_id="container"):
|
| 118 |
+
gr.Markdown("# SynthID Remover")
|
| 119 |
+
gr.Markdown("This tool removes SynthID watermarks by re-rendering images through a high-fidelity diffusion reconstruction pipeline. It is specifically designed to bypass SynthID detection while maintaining the original image structure.")
|
| 120 |
|
| 121 |
with gr.Row():
|
| 122 |
with gr.Column():
|
| 123 |
input_img = gr.Image(type="pil", label="Input Image", height=512)
|
| 124 |
with gr.Column():
|
| 125 |
+
output_img = gr.Image(type="pil", label="Cleaned Image", height=512, interactive=False)
|
| 126 |
|
| 127 |
submit_btn = gr.Button("Remove Watermark", variant="primary")
|
| 128 |
|
|
|
|
| 138 |
This project is a direct implementation of the research by [00quebec/Synthid-Bypass](https://github.com/00quebec/Synthid-Bypass). All credit for the discovery and the original ComfyUI workflows goes to the original authors.
|
| 139 |
|
| 140 |
### Technical Breakdown
|
| 141 |
+
The removal process works by re-processing the image through a specialized diffusion pipeline:
|
| 142 |
1. **Pixel Laundering**: The image is re-rendered using the **Z-Image-Turbo (S3-DiT)** model with a low denoising factor (0.2). This replaces the watermark's subtle noise patterns with new noise from the model.
|
| 143 |
2. **Structural Guidance**: To prevent the image from changing, a **Canny ControlNet** locks in the original geometry and composition.
|
| 144 |
3. **Multi-Pass Denoising**: The process runs in three iterative stages to gently scrub away the watermark without introducing artifacts.
|