xinchen9 commited on
Commit
deba054
·
verified ·
1 Parent(s): 1d193c7

[Update]image position

Browse files
Files changed (1) hide show
  1. app.py +7 -9
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
- with gr.Row():
44
- with gr.Column(min_width=260):
45
-
46
- img1 = gr.Image("images/cheetah.jpg",label="Image Generated without AdvUnlearn",width=260,show_share_button=False,show_download_button=False)
47
- with gr.Column():
48
- start_button = gr.Button("AdvUnlearn",size='lg')
49
- with gr.Column(min_width=260):
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()