Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -108,13 +108,13 @@ with gr.Blocks(css=custom_css) as demo:
|
|
| 108 |
step=1, label="Attack Steps", info="Choose between 0 and 100",
|
| 109 |
interactive=True,)
|
| 110 |
with gr.Row() as attack:
|
| 111 |
-
with gr.Column(min_width=
|
| 112 |
text_input = gr.Textbox(label="Input Prompt")
|
| 113 |
|
| 114 |
orig_img = gr.Image(label="Image Generated by Input Prompt",width=512,show_share_button=False,show_download_button=False)
|
| 115 |
with gr.Column():
|
| 116 |
start_button = gr.Button("UnlearnDiffAtk!",size='lg')
|
| 117 |
-
with gr.Column(min_width=
|
| 118 |
text_ouput = gr.Textbox(label="Prompt Genetated by UnlearnDiffAtk")
|
| 119 |
result_img = gr.Image(label="Image Gnerated by Prompt of UnlearnDiffAtk",width=512,show_share_button=False,show_download_button=False)
|
| 120 |
|
|
|
|
| 108 |
step=1, label="Attack Steps", info="Choose between 0 and 100",
|
| 109 |
interactive=True,)
|
| 110 |
with gr.Row() as attack:
|
| 111 |
+
with gr.Column(min_width=512):
|
| 112 |
text_input = gr.Textbox(label="Input Prompt")
|
| 113 |
|
| 114 |
orig_img = gr.Image(label="Image Generated by Input Prompt",width=512,show_share_button=False,show_download_button=False)
|
| 115 |
with gr.Column():
|
| 116 |
start_button = gr.Button("UnlearnDiffAtk!",size='lg')
|
| 117 |
+
with gr.Column(min_width=512):
|
| 118 |
text_ouput = gr.Textbox(label="Prompt Genetated by UnlearnDiffAtk")
|
| 119 |
result_img = gr.Image(label="Image Gnerated by Prompt of UnlearnDiffAtk",width=512,show_share_button=False,show_download_button=False)
|
| 120 |
|