MK-316 commited on
Commit
63e67b9
β€’
1 Parent(s): fc50377

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def get_image_html(year):
33
  # Assuming 'LINK' column has the partial path like '2006_1.PNG'
34
  image_filename = match.iloc[0]['Filename']
35
  # Construct the full URL by appending the filename to the base path
36
- image_url = f'https://huggingface.co/spaces/MK-316/TCE/blob/main/TExams/{image_filename}'
37
  keywords = match.iloc[0]['KEYWORDS']
38
  # Place keywords above the image
39
  return f"<b>🌷 Keywords:</b> πŸ”‘ {keywords}<br><img src='{image_url}' width='800'/>"
 
33
  # Assuming 'LINK' column has the partial path like '2006_1.PNG'
34
  image_filename = match.iloc[0]['Filename']
35
  # Construct the full URL by appending the filename to the base path
36
+ image_url = f'https://huggingface.co/spaces/MK-316/TCE/raw/main/TExams/{image_filename}'
37
  keywords = match.iloc[0]['KEYWORDS']
38
  # Place keywords above the image
39
  return f"<b>🌷 Keywords:</b> πŸ”‘ {keywords}<br><img src='{image_url}' width='800'/>"