mathpluscode commited on
Commit
514f937
Β·
1 Parent(s): a4905fa

Add UCL logo

Browse files
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. .gitignore +1 -0
  3. app.py +25 -12
  4. ucl.png +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.png filter=lfs diff=lfs merge=lfs -text
.gitignore CHANGED
@@ -8,3 +8,4 @@ ukb/
8
  *.png
9
  models--mathpluscode--CineMA/
10
  datasets--mathpluscode--ACDC/
 
 
8
  *.png
9
  models--mathpluscode--CineMA/
10
  datasets--mathpluscode--ACDC/
11
+ !ucl.png
app.py CHANGED
@@ -830,17 +830,30 @@ def landmark_tab():
830
  with gr.Blocks(
831
  theme=theme, title="CineMA: A Foundation Model for Cine Cardiac MRI"
832
  ) as demo:
833
- gr.Markdown(
834
- """
835
- # CineMA: A Foundation Model for Cine Cardiac MRI πŸŽ₯πŸ«€
836
-
837
- πŸš€ The following demonstrations showcase the capabilities of CineMA in multiple tasks. Click the button to launch the inference.<br>
838
- ⏱️ The examples may take 10-60 seconds, if not cached, to download data and model, perform inference, and render plots.<br>
839
- πŸ’Ύ This research has been conducted using the UK Biobank Resource under Application Number 71702.<br>
840
- ❀️ The authors acknowledge the use of resources provided by the Isambard-AI National AI Research Resource (AIRR).<br>
841
- πŸ”— For more details, check out our [manuscript](https://arxiv.org/abs/2506.00679) and [GitHub repository](https://github.com/mathpluscode/CineMA).
842
- """
843
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
844
 
845
  with gr.Tabs(selected="sax_seg") as tabs:
846
  with gr.TabItem("πŸ–ΌοΈ Cine CMR Views", id="cmr"):
@@ -853,4 +866,4 @@ with gr.Blocks(
853
  segmentation_lax_tab()
854
  with gr.TabItem("πŸ“ Landmark Localisation in LAX 2C/4C View", id="landmark"):
855
  landmark_tab()
856
- demo.launch(allowed_paths=[cache_dir])
 
830
  with gr.Blocks(
831
  theme=theme, title="CineMA: A Foundation Model for Cine Cardiac MRI"
832
  ) as demo:
833
+ with gr.Row():
834
+ with gr.Column(scale=4):
835
+ gr.Markdown(
836
+ """
837
+ # CineMA: A Foundation Model for Cine Cardiac MRI πŸŽ₯πŸ«€
838
+
839
+ πŸš€ The following demonstrations showcase the capabilities of CineMA in multiple tasks. Click the button to launch the inference.<br>
840
+ ⏱️ The examples may take 10-60 seconds, if not cached, to download data and model, perform inference, and render plots.<br>
841
+ πŸ’Ύ This research has been conducted using the UK Biobank Resource under Application Number 71702.<br>
842
+ ❀️ The authors acknowledge the use of resources provided by the Isambard-AI National AI Research Resource (AIRR).<br>
843
+ πŸ”— For more details, check out our [manuscript](https://arxiv.org/abs/2506.00679) and [GitHub repository](https://github.com/mathpluscode/CineMA).
844
+ """
845
+ )
846
+ with gr.Column(scale=1):
847
+ gr.Image(
848
+ value="ucl.png",
849
+ height=120,
850
+ show_label=False,
851
+ show_download_button=False,
852
+ show_fullscreen_button=False,
853
+ show_share_button=False,
854
+ container=False,
855
+ interactive=False,
856
+ )
857
 
858
  with gr.Tabs(selected="sax_seg") as tabs:
859
  with gr.TabItem("πŸ–ΌοΈ Cine CMR Views", id="cmr"):
 
866
  segmentation_lax_tab()
867
  with gr.TabItem("πŸ“ Landmark Localisation in LAX 2C/4C View", id="landmark"):
868
  landmark_tab()
869
+ demo.launch(allowed_paths=[cache_dir, "ucl.png"])
ucl.png ADDED

Git LFS Details

  • SHA256: 665c26a7f78951b1401e538a8f55683296006ad92ecea0ff541fb89bb0c3ddd8
  • Pointer size: 131 Bytes
  • Size of remote file: 204 kB