Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
4b75be6
1
Parent(s):
34e38f3
update
Browse files
serve/gradio_web_image_editing.py
CHANGED
@@ -176,22 +176,22 @@ Find out who is the 🥇conditional image edition models!
|
|
176 |
dummy_right_model = gr.State("")
|
177 |
leftvote_btn.click(
|
178 |
leftvote_last_response,
|
179 |
-
inputs=[state0, state1,
|
180 |
outputs=[model_selector_left, model_selector_right] + input_list + vote_btns,
|
181 |
)
|
182 |
rightvote_btn.click(
|
183 |
rightvote_last_response,
|
184 |
-
inputs=[state0, state1,
|
185 |
outputs=[model_selector_left, model_selector_right] + input_list + vote_btns,
|
186 |
)
|
187 |
tie_btn.click(
|
188 |
tievote_last_response,
|
189 |
-
inputs=[state0, state1,
|
190 |
outputs=[model_selector_left, model_selector_right] + input_list + vote_btns,
|
191 |
)
|
192 |
bothbad_btn.click(
|
193 |
bothbad_vote_last_response,
|
194 |
-
inputs=[state0, state1,
|
195 |
outputs=[model_selector_left, model_selector_right] + input_list + vote_btns,
|
196 |
)
|
197 |
share_btn.click(
|
|
|
176 |
dummy_right_model = gr.State("")
|
177 |
leftvote_btn.click(
|
178 |
leftvote_last_response,
|
179 |
+
inputs=[state0, state1, dummy_left_model, dummy_right_model],
|
180 |
outputs=[model_selector_left, model_selector_right] + input_list + vote_btns,
|
181 |
)
|
182 |
rightvote_btn.click(
|
183 |
rightvote_last_response,
|
184 |
+
inputs=[state0, state1, dummy_left_model, dummy_right_model],
|
185 |
outputs=[model_selector_left, model_selector_right] + input_list + vote_btns,
|
186 |
)
|
187 |
tie_btn.click(
|
188 |
tievote_last_response,
|
189 |
+
inputs=[state0, state1, dummy_left_model, dummy_right_model],
|
190 |
outputs=[model_selector_left, model_selector_right] + input_list + vote_btns,
|
191 |
)
|
192 |
bothbad_btn.click(
|
193 |
bothbad_vote_last_response,
|
194 |
+
inputs=[state0, state1, dummy_left_model, dummy_right_model],
|
195 |
outputs=[model_selector_left, model_selector_right] + input_list + vote_btns,
|
196 |
)
|
197 |
share_btn.click(
|