Yeefei commited on
Commit
6854534
·
verified ·
1 Parent(s): b360806

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -578,16 +578,16 @@ 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=200):
581
- x_chest = gr.Image(label="Observation", interactive=False,).style(height=HEIGHT,css=".label { font-size: 20px; }")
582
  with gr.Column(scale=1, min_width=200):
583
  cf_x_chest = gr.Image(
584
- label="Counterfactual", interactive=False).style(height=HEIGHT, css=".label { font-size: 20px; }")
585
  with gr.Column(scale=1, min_width=200):
586
  cf_x_std_chest = gr.Image(
587
- label="Counterfactual Uncertainty", interactive=False).style(height=HEIGHT,css=".label { font-size: 20px; }")
588
  with gr.Column(scale=1, min_width=200):
589
  effect_chest = gr.Image(
590
- label="Direct Causal Effect", interactive=False).style(height=HEIGHT,css=".label { font-size: 20px; }")
591
 
592
  with gr.Row():
593
  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=200):
581
+ x_chest = gr.Image(label="Observation", interactive=False,).style(height=HEIGHT,css=".label { font-size: 80px; }")
582
  with gr.Column(scale=1, min_width=200):
583
  cf_x_chest = gr.Image(
584
+ label="Counterfactual", interactive=False).style(height=HEIGHT, css=".label { font-size: 80px; }")
585
  with gr.Column(scale=1, min_width=200):
586
  cf_x_std_chest = gr.Image(
587
+ label="Counterfactual Uncertainty", interactive=False).style(height=HEIGHT,css=".label { font-size: 80px; }")
588
  with gr.Column(scale=1, min_width=200):
589
  effect_chest = gr.Image(
590
+ label="Direct Causal Effect", interactive=False).style(height=HEIGHT,css=".label { font-size: 80px; }")
591
 
592
  with gr.Row():
593
  with gr.Column(scale=2.55):