Spaces:
Sleeping
Sleeping
More improvements
Browse files- app.py +1 -3
- daily_papers_enriched (3).csv +0 -0
- load_dataframe.py +1 -0
app.py
CHANGED
@@ -71,9 +71,7 @@ def save_data(df: pd.DataFrame):
|
|
71 |
# load as HF dataset
|
72 |
dataset = Dataset.from_pandas(df)
|
73 |
|
74 |
-
|
75 |
-
|
76 |
-
return
|
77 |
|
78 |
|
79 |
def display_data(df: pd.DataFrame):
|
|
|
71 |
# load as HF dataset
|
72 |
dataset = Dataset.from_pandas(df)
|
73 |
|
74 |
+
raise NotImplementedError("To do")
|
|
|
|
|
75 |
|
76 |
|
77 |
def display_data(df: pd.DataFrame):
|
daily_papers_enriched (3).csv
DELETED
The diff for this file is too large to render.
See raw diff
|
|
load_dataframe.py
CHANGED
@@ -190,6 +190,7 @@ def process_data(start_date: str, end_date: str) -> pd.DataFrame:
|
|
190 |
return dataframe
|
191 |
|
192 |
|
|
|
193 |
def get_data() -> pd.DataFrame:
|
194 |
|
195 |
# step 1: load pre-processed data
|
|
|
190 |
return dataframe
|
191 |
|
192 |
|
193 |
+
@st.cache_data
|
194 |
def get_data() -> pd.DataFrame:
|
195 |
|
196 |
# step 1: load pre-processed data
|