Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ with gr.Blocks() as demo:
|
|
27 |
with gr.Row() as advlearn:
|
28 |
with gr.Column():
|
29 |
# gr.Markdown("Please upload your model id.")
|
30 |
-
drop_text = gr.Dropdown(["Object-Church", "Object-Parachute", "Object-Garbage_Truck",
|
31 |
"Style-Van_Gogh","Concept-Nudity", "None"],
|
32 |
label="AdvUnlearn Text Encoder")
|
33 |
with gr.Column():
|
@@ -36,7 +36,7 @@ with gr.Blocks() as demo:
|
|
36 |
with gr.Row():
|
37 |
with gr.Column():
|
38 |
start_button = gr.Button("AdvUnlearn",size='lg')
|
39 |
-
with gr.Column(min_width=
|
40 |
-
img2 = gr.Image("images/cheetah.jpg",label="Image Generated with AdvUnlearn",width=
|
41 |
|
42 |
demo.launch()
|
|
|
27 |
with gr.Row() as advlearn:
|
28 |
with gr.Column():
|
29 |
# gr.Markdown("Please upload your model id.")
|
30 |
+
drop_text = gr.Dropdown(["Object-Church", "Object-Parachute", "Object-Garbage_Truck",
|
31 |
"Style-Van_Gogh","Concept-Nudity", "None"],
|
32 |
label="AdvUnlearn Text Encoder")
|
33 |
with gr.Column():
|
|
|
36 |
with gr.Row():
|
37 |
with gr.Column():
|
38 |
start_button = gr.Button("AdvUnlearn",size='lg')
|
39 |
+
with gr.Column(min_width=512):
|
40 |
+
img2 = gr.Image("images/cheetah.jpg",label="Image Generated with AdvUnlearn",width=512,show_share_button=False,show_download_button=False)
|
41 |
|
42 |
demo.launch()
|