Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def get_image_html(year):
|
|
31 |
match = df[df['YEAR'] == year]
|
32 |
if not match.empty:
|
33 |
# Assuming 'LINK' column has the partial path like '2006_1.PNG'
|
34 |
-
image_filename = match.iloc[0]['
|
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']
|
|
|
31 |
match = df[df['YEAR'] == year]
|
32 |
if not match.empty:
|
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']
|