xinchen9 commited on
Commit
4ee3f47
1 Parent(s): f1cebe3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=result, api_name="udiff")
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)