Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
7cd66c7
1
Parent(s):
0862e9c
Update app.py
Browse files
app.py
CHANGED
@@ -154,10 +154,11 @@ with gr.Blocks(css=css) as demo:
|
|
154 |
|
155 |
with gr.Row():
|
156 |
with gr.Column():
|
157 |
-
with gr.
|
158 |
-
|
159 |
-
|
160 |
-
|
|
|
161 |
x = gr.Slider(minimum=0, value=1.75, step=0.1, maximum=4.0, label="Strength", info="maximum strength on each direction (unstable beyond 2.5)")
|
162 |
submit = gr.Button("Generate directions")
|
163 |
with gr.Column():
|
|
|
154 |
|
155 |
with gr.Row():
|
156 |
with gr.Column():
|
157 |
+
with gr.Group():
|
158 |
+
with gr.Row():
|
159 |
+
concept_1 = gr.Textbox(label="1st direction to steer", placeholder="winter")
|
160 |
+
concept_2 = gr.Textbox(label="2nd direction to steer", placeholder="summer")
|
161 |
+
prompt = gr.Textbox(label="Prompt", info="Describe what to be steered by the directions", placeholder="A dog in the park")
|
162 |
x = gr.Slider(minimum=0, value=1.75, step=0.1, maximum=4.0, label="Strength", info="maximum strength on each direction (unstable beyond 2.5)")
|
163 |
submit = gr.Button("Generate directions")
|
164 |
with gr.Column():
|