xinchen9 commited on
Commit
326497b
1 Parent(s): a7ccaf0

[Update]remove first column

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -79,12 +79,12 @@ with gr.Blocks(css=custom_css) as demo:
79
  step=1, label="Attack Steps", info="Choose between 0 and 100",
80
  interactive=True,)
81
  with gr.Row() as attack:
82
- with gr.Column(scale=4, min_width=320):
83
- text_input = gr.Textbox(label="Input Prompt")
84
- img1 = gr.Image("images/cheetah.jpg",label="Image")
85
- with gr.Column(scale=1):
86
- start_button = gr.Button("UnlearnDiffAtk!",size='lg',min_width=10)
87
- with gr.Column(scale=4,min_width=320):
88
  text_ouput = gr.Textbox(label="Prompt Genetated by UnlearnDiffAtk")
89
  img2 = gr.Image("images/cheetah.jpg",label="After Defense")
90
 
 
79
  step=1, label="Attack Steps", info="Choose between 0 and 100",
80
  interactive=True,)
81
  with gr.Row() as attack:
82
+ # with gr.Column(min_width=320):
83
+ text_input = gr.Textbox(label="Input Prompt")
84
+ img1 = gr.Image("images/cheetah.jpg",label="Image")
85
+ with gr.Column():
86
+ start_button = gr.Button("UnlearnDiffAtk!",size='lg')
87
+ with gr.Column(min_width=320):
88
  text_ouput = gr.Textbox(label="Prompt Genetated by UnlearnDiffAtk")
89
  img2 = gr.Image("images/cheetah.jpg",label="After Defense")
90