Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -142,7 +142,7 @@ with gr.Blocks() as block_demo:
|
|
| 142 |
img1, img2, prop_text, image_state, method1_state, method2_state, property_state, img_input = prepare_everything_else()
|
| 143 |
# new_image, new_method1, new_method2, new_image1, new_image2, new_property = get_random_comparison()
|
| 144 |
return [
|
| 145 |
-
img1, img2, prop_text, image_state, method1_state, method2_state, property_state, img_input,
|
| 146 |
]
|
| 147 |
|
| 148 |
l_butt.click(fn=update_interface, inputs=[method1_state, image_state, method1_state, method2_state, property_state, ip_state],
|
|
|
|
| 142 |
img1, img2, prop_text, image_state, method1_state, method2_state, property_state, img_input = prepare_everything_else()
|
| 143 |
# new_image, new_method1, new_method2, new_image1, new_image2, new_property = get_random_comparison()
|
| 144 |
return [
|
| 145 |
+
img1, img2, prop_text, image_state, method1_state, method2_state, property_state, img_input, ip
|
| 146 |
]
|
| 147 |
|
| 148 |
l_butt.click(fn=update_interface, inputs=[method1_state, image_state, method1_state, method2_state, property_state, ip_state],
|