Spaces:
Running
on
Zero
Running
on
Zero
qinghuazhou
commited on
Commit
•
0187baa
1
Parent(s):
1349a90
updated demo
Browse files
app.py
CHANGED
@@ -379,7 +379,7 @@ with gr.Blocks(theme=gr.themes.Soft(text_size="sm")) as demo:
|
|
379 |
try_attack_button.click(
|
380 |
return_generate_with_edit_trigger,
|
381 |
inputs=[try_prompt, try_target, try_attack_type, try_context],
|
382 |
-
outputs=hidden_attacked
|
383 |
)
|
384 |
# try_generate_button.click(
|
385 |
# return_trigger,
|
|
|
379 |
try_attack_button.click(
|
380 |
return_generate_with_edit_trigger,
|
381 |
inputs=[try_prompt, try_target, try_attack_type, try_context],
|
382 |
+
outputs=[hidden_attacked, try_trigger]
|
383 |
)
|
384 |
# try_generate_button.click(
|
385 |
# return_trigger,
|