Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def load_leaderboard_data(csv_file_path):
|
|
40 |
df[col] = df[col].dt.strftime('%Y-%m-%d') # Store as YYYY-MM-DD
|
41 |
|
42 |
# Calculate the date two weeks ago from today
|
43 |
-
two_weeks_ago = (datetime.now() - timedelta(days=
|
44 |
|
45 |
# Store model name and link separately
|
46 |
df['Model_Link'] = df['Model Link'].fillna('')
|
|
|
40 |
df[col] = df[col].dt.strftime('%Y-%m-%d') # Store as YYYY-MM-DD
|
41 |
|
42 |
# Calculate the date two weeks ago from today
|
43 |
+
two_weeks_ago = (datetime.now() - timedelta(days=6)).strftime('%Y-%m-%d') #temp 6
|
44 |
|
45 |
# Store model name and link separately
|
46 |
df['Model_Link'] = df['Model Link'].fillna('')
|