Spaces:
Runtime error
Runtime error
Add privacy policy
#8
by
zhihuang
- opened
- home.py +9 -1
- image2image.py +5 -1
- text2image.py +3 -0
home.py
CHANGED
@@ -61,4 +61,12 @@ def app():
|
|
61 |
|
62 |
with col2:
|
63 |
fig1f = Image.open('resources/4x/Fig1f.png')
|
64 |
-
st.image(fig1f, caption='Training illustration', output_format='png')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
|
62 |
with col2:
|
63 |
fig1f = Image.open('resources/4x/Fig1f.png')
|
64 |
+
st.image(fig1f, caption='Training illustration', output_format='png')
|
65 |
+
|
66 |
+
|
67 |
+
|
68 |
+
st.markdown('Disclaimer')
|
69 |
+
st.caption('Please be advised that this function has been developed in compliance with the Twitter policy of data usage and sharing. It is important to note that the results obtained from this function are not intended to constitute medical advice or replace consultation with a qualified medical professional. The use of this function is solely at your own risk and should be consistent with applicable laws, regulations, and ethical considerations. We do not warrant or guarantee the accuracy, completeness, suitability, or usefulness of this function for any particular purpose, and we hereby disclaim any liability arising from any reliance placed on this function or any results obtained from its use. If you wish to review the original Twitter post, you should access the source page directly on Twitter.')
|
70 |
+
|
71 |
+
st.markdown('Privacy statement')
|
72 |
+
st.caption('In accordance with the privacy and control policy of Twitter, we hereby declared that the data redistributed by us shall only comprise of Tweet IDs. The Tweet IDs will be employed to establish a linkage with the original Twitter post, as long as the original post is still accessible. The hyperlink will cease to function if the user deletes the original post. It is important to note that all tweets displayed on our service have already been classified as non-sensitive by Twitter. It is strictly prohibited to redistribute any content apart from the Tweet IDs. Any distribution carried out must adhere to the laws and regulations applicable in your jurisdiction, including export control laws and embargoes.')
|
image2image.py
CHANGED
@@ -69,7 +69,7 @@ def app():
|
|
69 |
st.markdown("Image-to-image retrieval can be used to retrieve pathology images that have contents similar to the target image input, with the ability to comprehend the key components from the input image.")
|
70 |
|
71 |
st.markdown('#### Demo')
|
72 |
-
|
73 |
meta, image_embedding, text_embedding, validation_subset_index = init()
|
74 |
model, processor = load_path_clip()
|
75 |
|
@@ -215,6 +215,10 @@ def app():
|
|
215 |
st.caption('Please be advised that this function has been developed in compliance with the Twitter policy of data usage and sharing. It is important to note that the results obtained from this function are not intended to constitute medical advice or replace consultation with a qualified medical professional. The use of this function is solely at your own risk and should be consistent with applicable laws, regulations, and ethical considerations. We do not warrant or guarantee the accuracy, completeness, suitability, or usefulness of this function for any particular purpose, and we hereby disclaim any liability arising from any reliance placed on this function or any results obtained from its use. If you wish to review the original Twitter post, you should access the source page directly on Twitter.')
|
216 |
|
217 |
|
|
|
|
|
|
|
|
|
218 |
|
219 |
|
220 |
|
|
|
69 |
st.markdown("Image-to-image retrieval can be used to retrieve pathology images that have contents similar to the target image input, with the ability to comprehend the key components from the input image.")
|
70 |
|
71 |
st.markdown('#### Demo')
|
72 |
+
|
73 |
meta, image_embedding, text_embedding, validation_subset_index = init()
|
74 |
model, processor = load_path_clip()
|
75 |
|
|
|
215 |
st.caption('Please be advised that this function has been developed in compliance with the Twitter policy of data usage and sharing. It is important to note that the results obtained from this function are not intended to constitute medical advice or replace consultation with a qualified medical professional. The use of this function is solely at your own risk and should be consistent with applicable laws, regulations, and ethical considerations. We do not warrant or guarantee the accuracy, completeness, suitability, or usefulness of this function for any particular purpose, and we hereby disclaim any liability arising from any reliance placed on this function or any results obtained from its use. If you wish to review the original Twitter post, you should access the source page directly on Twitter.')
|
216 |
|
217 |
|
218 |
+
st.markdown('Privacy statement')
|
219 |
+
st.caption('In accordance with the privacy and control policy of Twitter, we hereby declared that the data redistributed by us shall only comprise of Tweet IDs. The Tweet IDs will be employed to establish a linkage with the original Twitter post, as long as the original post is still accessible. The hyperlink will cease to function if the user deletes the original post. It is important to note that all tweets displayed on our service have already been classified as non-sensitive by Twitter. It is strictly prohibited to redistribute any content apart from the Tweet IDs. Any distribution carried out must adhere to the laws and regulations applicable in your jurisdiction, including export control laws and embargoes.')
|
220 |
+
|
221 |
+
|
222 |
|
223 |
|
224 |
|
text2image.py
CHANGED
@@ -214,6 +214,9 @@ def app():
|
|
214 |
st.markdown('Disclaimer')
|
215 |
st.caption('Please be advised that this function has been developed in compliance with the Twitter policy of data usage and sharing. It is important to note that the results obtained from this function are not intended to constitute medical advice or replace consultation with a qualified medical professional. The use of this function is solely at your own risk and should be consistent with applicable laws, regulations, and ethical considerations. We do not warrant or guarantee the accuracy, completeness, suitability, or usefulness of this function for any particular purpose, and we hereby disclaim any liability arising from any reliance placed on this function or any results obtained from its use. If you wish to review the original Twitter post, you should access the source page directly on Twitter.')
|
216 |
|
|
|
|
|
|
|
217 |
|
218 |
|
219 |
|
|
|
214 |
st.markdown('Disclaimer')
|
215 |
st.caption('Please be advised that this function has been developed in compliance with the Twitter policy of data usage and sharing. It is important to note that the results obtained from this function are not intended to constitute medical advice or replace consultation with a qualified medical professional. The use of this function is solely at your own risk and should be consistent with applicable laws, regulations, and ethical considerations. We do not warrant or guarantee the accuracy, completeness, suitability, or usefulness of this function for any particular purpose, and we hereby disclaim any liability arising from any reliance placed on this function or any results obtained from its use. If you wish to review the original Twitter post, you should access the source page directly on Twitter.')
|
216 |
|
217 |
+
st.markdown('Privacy statement')
|
218 |
+
st.caption('In accordance with the privacy and control policy of Twitter, we hereby declared that the data redistributed by us shall only comprise of Tweet IDs. The Tweet IDs will be employed to establish a linkage with the original Twitter post, as long as the original post is still accessible. The hyperlink will cease to function if the user deletes the original post. It is important to note that all tweets displayed on our service have already been classified as non-sensitive by Twitter. It is strictly prohibited to redistribute any content apart from the Tweet IDs. Any distribution carried out must adhere to the laws and regulations applicable in your jurisdiction, including export control laws and embargoes.')
|
219 |
+
|
220 |
|
221 |
|
222 |
|