xinchen9 commited on
Commit
f6a1585
1 Parent(s): 867be7f

[Update]Add model id

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -28,4 +28,13 @@ with gr.Blocks() as demo:
28
  with gr.Column(scale=1, min_width=300):
29
  img2 = gr.Image("images/cheetah.jpg",label="Attacking")
30
 
 
 
 
 
 
 
 
 
 
31
  demo.launch()
 
28
  with gr.Column(scale=1, min_width=300):
29
  img2 = gr.Image("images/cheetah.jpg",label="Attacking")
30
 
31
+ with gr.Row():
32
+ # gr.Markdown("Please upload your model id.")
33
+ diffusion_model_id = gr.Textbox(label='diffusion_model_id')
34
+ concept = gr.Textbox(label='concept')
35
+ attacker = gr.Textbox(label='attacker')
36
+
37
+ start_button = gr.Button("Attack!")
38
+
39
+
40
  demo.launch()