Yeefei commited on
Commit
2adece5
·
verified ·
1 Parent(s): 3edc8ff

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -578,21 +578,22 @@ with gr.Blocks(theme=gr.themes.Default()) as demo:
578
  with gr.Row(): #.style(equal_height=True):
579
  idx_chest = gr.Number(value=0, visible=False)
580
  with gr.Column(scale=1, min_width=600):
581
- x_chest = gr.Image(label="Observation", interactive=False, height=HEIGHT) #).style(
 
582
  # height=HEIGHT
583
  # )
584
  with gr.Column(scale=1, min_width=600):
585
  cf_x_chest = gr.Image(
586
  label="Counterfactual", interactive=False
587
- , height=HEIGHT) #).style(height=HEIGHT)
588
  with gr.Column(scale=1, min_width=600):
589
  cf_x_std_chest = gr.Image(
590
  label="Counterfactual Uncertainty", interactive=False
591
- , height=HEIGHT) #).style(height=HEIGHT)
592
  with gr.Column(scale=1, min_width=600):
593
  effect_chest = gr.Image(
594
  label="Direct Causal Effect", interactive=False
595
- , height=HEIGHT) #).style(height=HEIGHT)
596
 
597
  with gr.Row():
598
  with gr.Column(scale=2):#.55):
 
578
  with gr.Row(): #.style(equal_height=True):
579
  idx_chest = gr.Number(value=0, visible=False)
580
  with gr.Column(scale=1, min_width=600):
581
+ x_chest = gr.Image(label="Observation", interactive=False,
582
+ height=HEIGHT, width=WIDTH) #).style(
583
  # height=HEIGHT
584
  # )
585
  with gr.Column(scale=1, min_width=600):
586
  cf_x_chest = gr.Image(
587
  label="Counterfactual", interactive=False
588
+ , height=HEIGHT, width=WIDTH) #).style(height=HEIGHT)
589
  with gr.Column(scale=1, min_width=600):
590
  cf_x_std_chest = gr.Image(
591
  label="Counterfactual Uncertainty", interactive=False
592
+ , height=HEIGHT, width=WIDTH) #).style(height=HEIGHT)
593
  with gr.Column(scale=1, min_width=600):
594
  effect_chest = gr.Image(
595
  label="Direct Causal Effect", interactive=False
596
+ , height=HEIGHT, width=WIDTH) #).style(height=HEIGHT)
597
 
598
  with gr.Row():
599
  with gr.Column(scale=2):#.55):