Yeefei commited on
Commit
cd7b88a
·
verified ·
1 Parent(s): 4d6d28a

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -579,7 +579,7 @@ with gr.Blocks(theme=gr.themes.Default()) as demo:
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,
582
- height=HEIGHT, width=WIDTH) #).style(
583
  # height=HEIGHT
584
  # )
585
  with gr.Column(scale=1, min_width=200):
@@ -596,14 +596,14 @@ with gr.Blocks(theme=gr.themes.Default()) as demo:
596
  , height=HEIGHT) #).style(height=HEIGHT)
597
 
598
  with gr.Row():
599
- with gr.Column(scale=2):#.55):
600
  gr.Markdown(
601
  "**Intervention**"
602
  + 20 * " "
603
  + "[arXiv paper](https://arxiv.org/abs/2306.15764)   |   [GitHub code](https://github.com/biomedia-mira/causal-gen)"
604
  + "  |   Hint: try 90% zoom"
605
  )
606
- with gr.Row(): #.style(equal_height=True):
607
  with gr.Column(min_width=200):
608
  do_f_chest = gr.Checkbox(label="do(disease)", value=False)
609
  f_chest = gr.Radio(FIND_CAT, label="", interactive=False)
 
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,
582
+ height=HEIGHT) #).style(
583
  # height=HEIGHT
584
  # )
585
  with gr.Column(scale=1, min_width=200):
 
596
  , height=HEIGHT) #).style(height=HEIGHT)
597
 
598
  with gr.Row():
599
+ with gr.Column(scale=2.55):
600
  gr.Markdown(
601
  "**Intervention**"
602
  + 20 * " "
603
  + "[arXiv paper](https://arxiv.org/abs/2306.15764)   |   [GitHub code](https://github.com/biomedia-mira/causal-gen)"
604
  + "  |   Hint: try 90% zoom"
605
  )
606
+ with gr.Row(equal_height=True): #.style(equal_height=True):
607
  with gr.Column(min_width=200):
608
  do_f_chest = gr.Checkbox(label="do(disease)", value=False)
609
  f_chest = gr.Radio(FIND_CAT, label="", interactive=False)