Spaces:
Sleeping
Sleeping
[Update]Add slider
Browse files
app.py
CHANGED
@@ -31,7 +31,12 @@ with gr.Blocks() as demo:
|
|
31 |
with gr.Row():
|
32 |
# gr.Markdown("Please upload your model id.")
|
33 |
diffusion_model_id = gr.Textbox(label='diffusion_model_id')
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
35 |
attacker = gr.Textbox(label='attacker')
|
36 |
|
37 |
start_button = gr.Button("Attack!")
|
|
|
31 |
with gr.Row():
|
32 |
# gr.Markdown("Please upload your model id.")
|
33 |
diffusion_model_id = gr.Textbox(label='diffusion_model_id')
|
34 |
+
shown_columns_4 = gr.Slider(
|
35 |
+
1, 100, value=40,
|
36 |
+
step=1, label="Attacking Steps", info="Choose between 1 and 100",
|
37 |
+
interactive=True,)
|
38 |
+
|
39 |
+
# concept = gr.Textbox(label='concept')
|
40 |
attacker = gr.Textbox(label='attacker')
|
41 |
|
42 |
start_button = gr.Button("Attack!")
|