xinchen9 commited on
Commit
c19881c
1 Parent(s): beef649

[Update]caption images

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -81,11 +81,11 @@ with gr.Blocks(css=custom_css) as demo:
81
  with gr.Row() as attack:
82
  with gr.Column(min_width=260):
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='sm')
87
  with gr.Column(min_width=260):
88
- text_ouput = gr.Textbox(label="Prompt Genetated by UnlearnDiffAtk")
89
  img2 = gr.Image("images/cheetah.jpg",label="After Defense")
90
 
91
  # with gr.Column():
 
81
  with gr.Row() as attack:
82
  with gr.Column(min_width=260):
83
  text_input = gr.Textbox(label="Input Prompt")
84
+ img1 = gr.Image("images/cheetah.jpg",label="Image Generated by Input Prompt")
85
  with gr.Column():
86
+ start_button = gr.Button("UnlearnDiffAtk!",size='lg')
87
  with gr.Column(min_width=260):
88
+ text_ouput = gr.Textbox(label="Prompt Genetated by Prompt of UnlearnDiffAtk")
89
  img2 = gr.Image("images/cheetah.jpg",label="After Defense")
90
 
91
  # with gr.Column():