Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -93,9 +93,9 @@ with st.sidebar:
|
|
| 93 |
# value=(str(min_year), str(max_year)),
|
| 94 |
# )
|
| 95 |
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
|
| 100 |
if author_names:
|
| 101 |
authors = [a.strip() for a in author_names.split(",")]
|
|
|
|
| 93 |
# value=(str(min_year), str(max_year)),
|
| 94 |
# )
|
| 95 |
|
| 96 |
+
start_year = 1997
|
| 97 |
+
end_year = 2023
|
| 98 |
+
df_mask = (DF["year"] >= start_year) & (DF["year"] <= end_year)
|
| 99 |
|
| 100 |
if author_names:
|
| 101 |
authors = [a.strip() for a in author_names.split(",")]
|