awacke1 commited on
Commit
3d47d85
·
verified ·
1 Parent(s): ee12d81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -34,12 +34,15 @@ def create_download_link(filename, base64_str):
34
 
35
  # Get this from paste into markdown feature
36
  image_url = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/95rO47yN-MF0bHTr8-IuO.png"
 
37
 
38
  image_base64 = get_image_as_base64(image_url)
 
39
  if image_base64 is not None:
40
  with st.sidebar:
41
  st.markdown("""### Mixable Card Game AI""")
42
  st.markdown(f"![image](data:image/png;base64,{image_base64})")
 
43
  #download_link = create_download_link("downloaded_image.png", image_base64)
44
  #st.markdown(download_link, unsafe_allow_html=True)
45
  else:
 
34
 
35
  # Get this from paste into markdown feature
36
  image_url = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/95rO47yN-MF0bHTr8-IuO.png"
37
+ image_url2 = "https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/yyXi71pd_Z6so2j_JeM2a.png"
38
 
39
  image_base64 = get_image_as_base64(image_url)
40
+ image_base642 = get_image_as_base64(image_url2)
41
  if image_base64 is not None:
42
  with st.sidebar:
43
  st.markdown("""### Mixable Card Game AI""")
44
  st.markdown(f"![image](data:image/png;base64,{image_base64})")
45
+ st.markdown(f"![image](data:image/png;base64,{image_base642})")
46
  #download_link = create_download_link("downloaded_image.png", image_base64)
47
  #st.markdown(download_link, unsafe_allow_html=True)
48
  else: