Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,12 +59,19 @@ def create_download_link(filename, base64_str):
|
|
| 59 |
return href
|
| 60 |
|
| 61 |
# Get this from paste into markdown feature
|
| 62 |
-
image_url = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/BGZtL7XUBqRI-PapdyZxs.png"
|
|
|
|
|
|
|
|
|
|
| 63 |
image_base64 = get_image_as_base64(image_url)
|
|
|
|
|
|
|
| 64 |
if image_base64 is not None:
|
| 65 |
with st.sidebar:
|
| 66 |
st.markdown("""### Body Map Condition AI""")
|
| 67 |
st.markdown(f"")
|
|
|
|
|
|
|
| 68 |
#download_link = create_download_link("downloaded_image.png", image_base64)
|
| 69 |
#st.markdown(download_link, unsafe_allow_html=True)
|
| 70 |
else:
|
|
|
|
| 59 |
return href
|
| 60 |
|
| 61 |
# Get this from paste into markdown feature
|
| 62 |
+
#image_url = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/BGZtL7XUBqRI-PapdyZxs.png"
|
| 63 |
+
image_url = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/GlmvaYeqXX9YreVtTMXL2.png"
|
| 64 |
+
image_url2 = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/6zPecp4Y1EW_XslTfLOJI.png"
|
| 65 |
+
image_url3 = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/l9RMmYFkMmnQxjU7CruVQ.png"
|
| 66 |
image_base64 = get_image_as_base64(image_url)
|
| 67 |
+
image_base642 = get_image_as_base64(image_url2)
|
| 68 |
+
image_base643 = get_image_as_base64(image_url3)
|
| 69 |
if image_base64 is not None:
|
| 70 |
with st.sidebar:
|
| 71 |
st.markdown("""### Body Map Condition AI""")
|
| 72 |
st.markdown(f"")
|
| 73 |
+
st.markdown(f"")
|
| 74 |
+
st.markdown(f"")
|
| 75 |
#download_link = create_download_link("downloaded_image.png", image_base64)
|
| 76 |
#st.markdown(download_link, unsafe_allow_html=True)
|
| 77 |
else:
|