Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -121,7 +121,7 @@ with gr.Blocks() as block_demo:
|
|
| 121 |
|
| 122 |
prop_text = gr.Markdown(f'###Which one is better in terms of x?')
|
| 123 |
image_state, method1_state, method2_state, property_state, ip_state = gr.State(), gr.State(), gr.State(), gr.State(), gr.State()
|
| 124 |
-
block_demo.load(on_load, inputs=[], outputs=[img1, img2, prop_text,
|
| 125 |
image_state, method1_state, method2_state, property_state, img_input, ip_state])
|
| 126 |
with gr.Row():
|
| 127 |
l_butt = gr.Button("Image 1")
|
|
|
|
| 121 |
|
| 122 |
prop_text = gr.Markdown(f'###Which one is better in terms of x?')
|
| 123 |
image_state, method1_state, method2_state, property_state, ip_state = gr.State(), gr.State(), gr.State(), gr.State(), gr.State()
|
| 124 |
+
block_demo.load(on_load, inputs=[None], outputs=[img1, img2, prop_text,
|
| 125 |
image_state, method1_state, method2_state, property_state, img_input, ip_state])
|
| 126 |
with gr.Row():
|
| 127 |
l_butt = gr.Button("Image 1")
|