Spaces:
Build error
Build error
[Update]image position
Browse files
app.py
CHANGED
|
@@ -40,14 +40,12 @@ with gr.Blocks() as demo:
|
|
| 40 |
|
| 41 |
with gr.Row() as attack:
|
| 42 |
text_input = gr.Textbox(label="Prompt")
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
text_ouput = gr.Textbox(label="Prompt Genetated by UnlearnDiffAtk")
|
| 51 |
-
img2 = gr.Image("images/cheetah.jpg",label="Image Generated without AdvUnlearn",width=260,show_share_button=False,show_download_button=False)
|
| 52 |
|
| 53 |
demo.launch()
|
|
|
|
| 40 |
|
| 41 |
with gr.Row() as attack:
|
| 42 |
text_input = gr.Textbox(label="Prompt")
|
| 43 |
+
with gr.Row():
|
| 44 |
+
with gr.Column(min_width=260):
|
| 45 |
+
img1 = gr.Image("images/cheetah.jpg",label="Image Generated without AdvUnlearn",width=260,show_share_button=False,show_download_button=False)
|
| 46 |
+
with gr.Column():
|
| 47 |
+
start_button = gr.Button("AdvUnlearn",size='lg')
|
| 48 |
+
with gr.Column(min_width=260):
|
| 49 |
+
img2 = gr.Image("images/cheetah.jpg",label="Image Generated without AdvUnlearn",width=260,show_share_button=False,show_download_button=False)
|
|
|
|
|
|
|
| 50 |
|
| 51 |
demo.launch()
|