Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|