multimodalart HF staff commited on
Commit
b82845b
1 Parent(s): 73c7ce2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -194,7 +194,7 @@ intro = """
194
  css='''
195
  #strip, #gif{min-height: 50px}
196
  '''
197
- examples = [["winter", "summer", 1.25, "a dog in the park"]]
198
  image_seq = gr.Image(label="Strip", elem_id="strip")
199
  output_image = gr.Image(label="Gif", elem_id="gif")
200
  post_generation_image = gr.Image(label="Generated Images")
@@ -222,7 +222,7 @@ with gr.Blocks(css=css) as demo:
222
  concept_2 = gr.Textbox(label="2nd direction to steer", placeholder="summer")
223
  #slider_x = gr.Dropdown(label="Slider concept range", allow_custom_value=True, multiselect=True, max_choices=2)
224
  #slider_y = gr.Dropdown(label="Slider Y concept range", allow_custom_value=True, multiselect=True, max_choices=2)
225
- prompt = gr.Textbox(label="Prompt", placeholder="A dog in the park")
226
  x = gr.Slider(minimum=0, value=1.5, step=0.1, maximum=4.0, label="Strength", info="maximum strength on each direction (unstable beyond 2.5)")
227
  submit = gr.Button("Generate directions")
228
  gr.Examples(
 
194
  css='''
195
  #strip, #gif{min-height: 50px}
196
  '''
197
+ examples = [["winter", "summer", 1.25, "a dog in the park"], ["USA suburb", "Europe", 2, "a house"]]
198
  image_seq = gr.Image(label="Strip", elem_id="strip")
199
  output_image = gr.Image(label="Gif", elem_id="gif")
200
  post_generation_image = gr.Image(label="Generated Images")
 
222
  concept_2 = gr.Textbox(label="2nd direction to steer", placeholder="summer")
223
  #slider_x = gr.Dropdown(label="Slider concept range", allow_custom_value=True, multiselect=True, max_choices=2)
224
  #slider_y = gr.Dropdown(label="Slider Y concept range", allow_custom_value=True, multiselect=True, max_choices=2)
225
+ prompt = gr.Textbox(label="Prompt", info="Describe what you to be steered by the directions", placeholder="A dog in the park")
226
  x = gr.Slider(minimum=0, value=1.5, step=0.1, maximum=4.0, label="Strength", info="maximum strength on each direction (unstable beyond 2.5)")
227
  submit = gr.Button("Generate directions")
228
  gr.Examples(