Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ with gr.Blocks(css=custom_css) as demo:
|
|
133 |
orig_img = gr.Image(label="Image Gnerated by Unlearned DM using input prompt",width=512,show_share_button=False,show_download_button=False)
|
134 |
with gr.Column():
|
135 |
attack_button = gr.Button("UnlearnDiffAtk!",size='lg')
|
136 |
-
text_ouput = gr.Textbox(label="Prompt Genetated by UnlearnDiffAtk")
|
137 |
result_img = gr.Image(label="Image Gnerated by Unlearned DM using adversarial prompt",width=512,show_share_button=False,show_download_button=False)
|
138 |
|
139 |
start_button.click(fn=execute_prepare, inputs=[drop_model, drop, shown_columns_step, atk_idx], outputs=[text_input, orig_img], api_name="prepare")
|
|
|
133 |
orig_img = gr.Image(label="Image Gnerated by Unlearned DM using input prompt",width=512,show_share_button=False,show_download_button=False)
|
134 |
with gr.Column():
|
135 |
attack_button = gr.Button("UnlearnDiffAtk!",size='lg')
|
136 |
+
text_ouput = gr.Textbox(label="Adversarial Prompt Genetated by UnlearnDiffAtk")
|
137 |
result_img = gr.Image(label="Image Gnerated by Unlearned DM using adversarial prompt",width=512,show_share_button=False,show_download_button=False)
|
138 |
|
139 |
start_button.click(fn=execute_prepare, inputs=[drop_model, drop, shown_columns_step, atk_idx], outputs=[text_input, orig_img], api_name="prepare")
|