Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,19 +71,9 @@ if 'idc_data' not in st.session_state:
|
|
| 71 |
"1.3.6.1.4.1.14519.5.2.1.3344.4008.315023636447426194723399171147",
|
| 72 |
"1.3.6.1.4.1.14519.5.2.1.3344.4008.307374355712319704057189924161"],
|
| 73 |
output_folder="model/asset/idc_samples")
|
| 74 |
-
# case_list = []
|
| 75 |
st.session_state.idc_data = True
|
| 76 |
else:
|
| 77 |
case_list = glob.glob("model/asset/idc_samples/*nii/*.nii.gz")
|
| 78 |
-
# if 'idc_index_body_part' not in st.session_state:
|
| 79 |
-
# body_part_list = retrieve_idc_index_body_parts()
|
| 80 |
-
# st.session_state.idc_index_body_part = True
|
| 81 |
-
# else:
|
| 82 |
-
# body_part_list = [""]
|
| 83 |
-
# if 'init_idc_client' not in st.session_state:
|
| 84 |
-
# st.session_state.idc_client = index.IDCClient()
|
| 85 |
-
# if 'idc_bodypart_selected' not in st.session_state:
|
| 86 |
-
# st.session_state.idc_bodypart_selected = False
|
| 87 |
if 'idc_serieUID_sample' not in st.session_state:
|
| 88 |
st.session_state.idc_serieUID_sample = None
|
| 89 |
# init session_state
|
|
@@ -151,9 +141,8 @@ def clear_file():
|
|
| 151 |
clear_prompts()
|
| 152 |
|
| 153 |
#############################################
|
|
|
|
| 154 |
st.image("idc_serieUID_selection.gif")
|
| 155 |
-
st.write("What is left is to paste the copied SeriesInstanceUID as showed above into the filter by DICOM SeriesInstanceUID box.")
|
| 156 |
-
|
| 157 |
st.write("Below is an overview of the SegVol method and authors acknowledgement.")
|
| 158 |
st.image(Image.open('model/asset/overview back.png'), use_column_width=True)
|
| 159 |
|
|
|
|
| 71 |
"1.3.6.1.4.1.14519.5.2.1.3344.4008.315023636447426194723399171147",
|
| 72 |
"1.3.6.1.4.1.14519.5.2.1.3344.4008.307374355712319704057189924161"],
|
| 73 |
output_folder="model/asset/idc_samples")
|
|
|
|
| 74 |
st.session_state.idc_data = True
|
| 75 |
else:
|
| 76 |
case_list = glob.glob("model/asset/idc_samples/*nii/*.nii.gz")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
if 'idc_serieUID_sample' not in st.session_state:
|
| 78 |
st.session_state.idc_serieUID_sample = None
|
| 79 |
# init session_state
|
|
|
|
| 141 |
clear_prompts()
|
| 142 |
|
| 143 |
#############################################
|
| 144 |
+
st.image("idc_intro_extended.jpg")
|
| 145 |
st.image("idc_serieUID_selection.gif")
|
|
|
|
|
|
|
| 146 |
st.write("Below is an overview of the SegVol method and authors acknowledgement.")
|
| 147 |
st.image(Image.open('model/asset/overview back.png'), use_column_width=True)
|
| 148 |
|