Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -193,6 +193,7 @@ def process_image(image, model_name, attack_types, eps_value, wm_text, password_
|
|
| 193 |
watermarked_image.save(output_path, format="PNG")
|
| 194 |
return image, adv_image, watermarked_image, extracted_wm_text, output_path
|
| 195 |
|
|
|
|
| 196 |
interface = gr.Interface(
|
| 197 |
fn=process_image,
|
| 198 |
inputs=[
|
|
|
|
| 193 |
watermarked_image.save(output_path, format="PNG")
|
| 194 |
return image, adv_image, watermarked_image, extracted_wm_text, output_path
|
| 195 |
|
| 196 |
+
# Gradio 인터페이스
|
| 197 |
interface = gr.Interface(
|
| 198 |
fn=process_image,
|
| 199 |
inputs=[
|