dennny123 commited on
Commit
c1cbd58
·
1 Parent(s): 848c819

Finalize UI: SynthID Remover title, refined description, and Gradio 6 compatibility

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -113,16 +113,16 @@ css = """
113
  footer {display: none !important;}
114
  """
115
 
116
- with gr.Blocks(title="SynthID Bypass") as demo:
117
  with gr.Column(elem_id="container"):
118
- gr.Markdown("# SynthID Bypass")
119
- gr.Markdown("Replicating 'Synthid-Bypass'. Note: Initial boot takes ~5 minutes to download 10GB of models.")
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="Reconstructed Image (Bypass)", height=512, interactive=False)
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 bypass 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.
 
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.