multimodalart HF staff commited on
Commit
fb80b53
·
verified ·
1 Parent(s): b734267

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -172,12 +172,12 @@ with gr.Blocks() as demo:
172
  with gr.Row():
173
  with gr.Column():
174
  with gr.Row():
175
- concept_1 = gr.Textbox(label="A concept to compare")
176
- concept_2 = gr.Textbox(label="Concept to compare")
177
  #slider_x = gr.Dropdown(label="Slider concept range", allow_custom_value=True, multiselect=True, max_choices=2)
178
  #slider_y = gr.Dropdown(label="Slider Y concept range", allow_custom_value=True, multiselect=True, max_choices=2)
179
- prompt = gr.Textbox(label="Prompt")
180
- x = gr.Slider(minimum=0, value=1.25, step=0.1, maximum=2.5, info="the strength to scale in each direction")
181
  submit = gr.Button("find directions")
182
  with gr.Column():
183
  with gr.Group(elem_id="group"):
 
172
  with gr.Row():
173
  with gr.Column():
174
  with gr.Row():
175
+ concept_1 = gr.Textbox(label="1st concept to compare", placeholder="winter")
176
+ concept_2 = gr.Textbox(label="2nd concept to compare", placeholder="summer")
177
  #slider_x = gr.Dropdown(label="Slider concept range", allow_custom_value=True, multiselect=True, max_choices=2)
178
  #slider_y = gr.Dropdown(label="Slider Y concept range", allow_custom_value=True, multiselect=True, max_choices=2)
179
+ prompt = gr.Textbox(label="Prompt", placeholder="A dog in the park")
180
+ x = gr.Slider(minimum=0, value=1.25, step=0.1, maximum=2.5, label="Strength", info="maximum strength on each direction")
181
  submit = gr.Button("find directions")
182
  with gr.Column():
183
  with gr.Group(elem_id="group"):