lime-j commited on
Commit
88b7307
·
verified ·
1 Parent(s): fd914b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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")