Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ with gr.Blocks(css=custom_css) as demo:
|
|
93 |
# ["CompVis/stable-diffusion-v1-4", "nudity", "text_grad"]
|
94 |
# ], inputs=[diffusion_model_id, concept, attacker])
|
95 |
|
96 |
-
start_button.click(fn=excute_udiff, inputs=[drop_model, drop, shown_columns_step], outputs=
|
97 |
|
98 |
|
99 |
# demo.queue(default_enabled=False, api_open=False, max_size=5).launch(debug=True, show_api=False)
|
|
|
93 |
# ["CompVis/stable-diffusion-v1-4", "nudity", "text_grad"]
|
94 |
# ], inputs=[diffusion_model_id, concept, attacker])
|
95 |
|
96 |
+
start_button.click(fn=excute_udiff, inputs=[drop_model, drop, shown_columns_step], outputs=[text_ouput], api_name="udiff")
|
97 |
|
98 |
|
99 |
# demo.queue(default_enabled=False, api_open=False, max_size=5).launch(debug=True, show_api=False)
|