Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,14 +60,13 @@ def create_download_link(filename, base64_str):
|
|
| 60 |
|
| 61 |
# Get this from paste into markdown feature
|
| 62 |
image_url = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/BGZtL7XUBqRI-PapdyZxs.png"
|
| 63 |
-
|
| 64 |
image_base64 = get_image_as_base64(image_url)
|
| 65 |
if image_base64 is not None:
|
| 66 |
with st.sidebar:
|
| 67 |
st.markdown("""### Mixable Card Game AI""")
|
| 68 |
st.markdown(f"")
|
| 69 |
-
download_link = create_download_link("downloaded_image.png", image_base64)
|
| 70 |
-
st.markdown(download_link, unsafe_allow_html=True)
|
| 71 |
else:
|
| 72 |
st.sidebar.write("Failed to load the image.")
|
| 73 |
# ------------------------------------------------------------- Art Card Sidebar
|
|
@@ -1098,7 +1097,7 @@ def main():
|
|
| 1098 |
|
| 1099 |
# Relocated! Hope you like your new space - enjoy!
|
| 1100 |
# Display instructions and handle query parameters
|
| 1101 |
-
#st.markdown("## Glossary Lookup\nEnter a term in the URL query, like `?q=
|
| 1102 |
|
| 1103 |
st.markdown('''
|
| 1104 |
### Mixable AI 🃏🚀📚
|
|
@@ -1116,8 +1115,8 @@ def main():
|
|
| 1116 |
# Display the glossary grid
|
| 1117 |
st.title("Body Map Glossary 🎲")
|
| 1118 |
display_glossary_grid(body_map_data)
|
| 1119 |
-
st.title("🎲🗺️
|
| 1120 |
-
st.markdown("## Explore the
|
| 1121 |
|
| 1122 |
display_buttons_with_scores()
|
| 1123 |
|
|
|
|
| 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("""### Mixable Card Game 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:
|
| 71 |
st.sidebar.write("Failed to load the image.")
|
| 72 |
# ------------------------------------------------------------- Art Card Sidebar
|
|
|
|
| 1097 |
|
| 1098 |
# Relocated! Hope you like your new space - enjoy!
|
| 1099 |
# Display instructions and handle query parameters
|
| 1100 |
+
#st.markdown("## Glossary Lookup\nEnter a term in the URL query, like `?q=Body Scan` or `?query=Body Map`.")
|
| 1101 |
|
| 1102 |
st.markdown('''
|
| 1103 |
### Mixable AI 🃏🚀📚
|
|
|
|
| 1115 |
# Display the glossary grid
|
| 1116 |
st.title("Body Map Glossary 🎲")
|
| 1117 |
display_glossary_grid(body_map_data)
|
| 1118 |
+
st.title("🎲🗺️ Body Map Conditions")
|
| 1119 |
+
st.markdown("## Explore the body with a body scan map which fosters self knowledge about the body.🌠")
|
| 1120 |
|
| 1121 |
display_buttons_with_scores()
|
| 1122 |
|