Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,5 +45,5 @@ div.markdown("""
|
|
45 |
# Add the uploaded files to the div as an anchor tag with an image that opens in a new tab
|
46 |
if file_list:
|
47 |
for file in file_list:
|
48 |
-
url =
|
49 |
div.markdown(f'<a href="{url}" target="_blank"><img src="data:image/png;base64,{file}" class="sticky"></a>', unsafe_allow_html=True)
|
|
|
45 |
# Add the uploaded files to the div as an anchor tag with an image that opens in a new tab
|
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)
|