Spaces:
Running
on
Zero
Running
on
Zero
Commit
Β·
514f937
1
Parent(s):
a4905fa
Add UCL logo
Browse files- .gitattributes +1 -0
- .gitignore +1 -0
- app.py +25 -12
- 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.
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
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
|