rynmurdock commited on
Commit
34af581
1 Parent(s): babc6d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -313,7 +313,7 @@ def start(_, calibrate_prompts, user_id, request: gr.Request):
313
  image, calibrate_prompts = next_image(calibrate_prompts, user_id)
314
  return [
315
  gr.Button(value='Like (L)', interactive=True),
316
- gr.Button(value='Neither (Space)', interactive=True),
317
  gr.Button(value='Dislike (A)', interactive=True),
318
  gr.Button(value='Start', interactive=False),
319
  image,
@@ -429,7 +429,7 @@ Explore the latent space without text prompts based on your preferences. Learn m
429
  img.play(l, js='''document.querySelector('[data-testid="Lightning-player"]').loop = true''')
430
  with gr.Row(equal_height=True):
431
  b3 = gr.Button(value='Dislike (A)', interactive=False, elem_id="dislike")
432
- b2 = gr.Button(value='Neither (Space)', interactive=False, elem_id="neither")
433
  b1 = gr.Button(value='Like (L)', interactive=False, elem_id="like")
434
  b1.click(
435
  choose,
 
313
  image, calibrate_prompts = next_image(calibrate_prompts, user_id)
314
  return [
315
  gr.Button(value='Like (L)', interactive=True),
316
+ gr.Button(value='Neither (Space)', interactive=True, visible=False),
317
  gr.Button(value='Dislike (A)', interactive=True),
318
  gr.Button(value='Start', interactive=False),
319
  image,
 
429
  img.play(l, js='''document.querySelector('[data-testid="Lightning-player"]').loop = true''')
430
  with gr.Row(equal_height=True):
431
  b3 = gr.Button(value='Dislike (A)', interactive=False, elem_id="dislike")
432
+ b2 = gr.Button(value='Neither (Space)', interactive=False, elem_id="neither", visible=False)
433
  b1 = gr.Button(value='Like (L)', interactive=False, elem_id="like")
434
  b1.click(
435
  choose,