awacke1 commited on
Commit
b51c9ee
·
1 Parent(s): cbe67dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,4 +46,4 @@ div.markdown("""
46
  if file_list:
47
  for file in file_list:
48
  url = "https://huggingface.co/spaces/awacke1/CardCrafter-CraftCustomCards" # Replace with the URL to open when the image is clicked
49
- div.markdown(f'<a href="{url}" target="_blank"><img src="data:image/png;base64,{file}" class="sticky"></a>', unsafe_allow_html=True)
 
46
  if file_list:
47
  for file in file_list:
48
  url = "https://huggingface.co/spaces/awacke1/CardCrafter-CraftCustomCards" # Replace with the URL to open when the image is clicked
49
+ div.markdown(f'<a href="{url}" target="_blank"><img src="{file.name}" class="sticky"></a>', unsafe_allow_html=True)