Spaces:
Runtime error
Runtime error
rynmurdock
commited on
Commit
•
7df154d
1
Parent(s):
2653a4a
app.py
CHANGED
@@ -334,7 +334,7 @@ def start(_, calibrate_prompts, user_id, request: gr.Request):
|
|
334 |
|
335 |
return [
|
336 |
gr.Button(value='Like (L)', interactive=True),
|
337 |
-
gr.
|
338 |
gr.Button(value='Dislike (A)', interactive=True),
|
339 |
gr.Button(value='Start', interactive=False),
|
340 |
image,
|
@@ -472,7 +472,7 @@ Explore the latent space without text prompts based on your preferences. Learn m
|
|
472 |
[img, calibrate_prompts],
|
473 |
)
|
474 |
with gr.Row():
|
475 |
-
b4 = gr.Button(value='Start')
|
476 |
b4.click(start,
|
477 |
[b4, calibrate_prompts, user_id],
|
478 |
[b1, b2, b3, b4, img, calibrate_prompts, user_id]
|
|
|
334 |
|
335 |
return [
|
336 |
gr.Button(value='Like (L)', interactive=True),
|
337 |
+
gr.Button(value='_', interactive=False, visible=False).
|
338 |
gr.Button(value='Dislike (A)', interactive=True),
|
339 |
gr.Button(value='Start', interactive=False),
|
340 |
image,
|
|
|
472 |
[img, calibrate_prompts],
|
473 |
)
|
474 |
with gr.Row():
|
475 |
+
b4 = gr.Button(value='Start'),
|
476 |
b4.click(start,
|
477 |
[b4, calibrate_prompts, user_id],
|
478 |
[b1, b2, b3, b4, img, calibrate_prompts, user_id]
|