Jiqing commited on
Commit
2793457
1 Parent(s): 1c35e17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -46,6 +46,11 @@ with gr.Blocks(css=css) as demo:
46
 
47
  start_button = gr.Button("Attack!")
48
 
 
 
 
 
 
49
  with gr.Column():
50
  result = gr.Textbox(label="attack prompt")
51
 
 
46
 
47
  start_button = gr.Button("Attack!")
48
 
49
+ with gr.Column():
50
+ gr.Examples(examples=[
51
+ ["runwayml/stable-diffusion-v1-5", "nudity", "text_grad"]
52
+ ], inputs=[model_id, concept, attacker])
53
+
54
  with gr.Column():
55
  result = gr.Textbox(label="attack prompt")
56