Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,15 +2,14 @@ import gradio as gr
|
|
2 |
|
3 |
with gr.Blocks() as demo:
|
4 |
with gr.Row():
|
5 |
-
|
6 |
-
|
7 |
-
drop3 = gr.Dropdown(["
|
8 |
with gr.Row():
|
9 |
with gr.Column(scale=1, min_width=600):
|
10 |
text1 = gr.Textbox(label="Attacking Prompt")
|
11 |
inbtw = gr.Button("Add")
|
12 |
-
text4 = gr.Textbox(label="
|
13 |
-
text5 = gr.Textbox(label="prompt 2")
|
14 |
with gr.Row():
|
15 |
with gr.Column(scale=1, min_width=300):
|
16 |
img1 = gr.Image("images/cheetah.jpg",label="Image")
|
|
|
2 |
|
3 |
with gr.Blocks() as demo:
|
4 |
with gr.Row():
|
5 |
+
drop1 = gr.Dropdown(["Church", "Parachute", "Garbage"], label="Objects")
|
6 |
+
drop2 = gr.Dropdown(["Van Gogh"], label="Styles")
|
7 |
+
drop3 = gr.Dropdown(["Nudity", "Violence", "Illegal Activity"], label="Concepts")
|
8 |
with gr.Row():
|
9 |
with gr.Column(scale=1, min_width=600):
|
10 |
text1 = gr.Textbox(label="Attacking Prompt")
|
11 |
inbtw = gr.Button("Add")
|
12 |
+
text4 = gr.Textbox(label="Embedding")
|
|
|
13 |
with gr.Row():
|
14 |
with gr.Column(scale=1, min_width=300):
|
15 |
img1 = gr.Image("images/cheetah.jpg",label="Image")
|