Spaces:
Runtime error
Runtime error
fix invalid reference
Browse files
app.py
CHANGED
@@ -254,7 +254,7 @@ def fetch_data() -> None:
|
|
254 |
This function fetches the data from the source and target datasets and updates the global variables.
|
255 |
"""
|
256 |
|
257 |
-
print(f"Starting to fetch data: {datetime.
|
258 |
|
259 |
global source_dataset, target_dataset, user_ids_annotations, annotated, remaining, percentage_completed, top_dataframe
|
260 |
source_dataset, target_dataset = obtain_source_target_datasets()
|
@@ -267,7 +267,7 @@ def fetch_data() -> None:
|
|
267 |
)
|
268 |
|
269 |
# Print the current date and time
|
270 |
-
print(f"Data fetched: {datetime.
|
271 |
|
272 |
|
273 |
def get_top(N = 10) -> pd.DataFrame:
|
|
|
254 |
This function fetches the data from the source and target datasets and updates the global variables.
|
255 |
"""
|
256 |
|
257 |
+
print(f"Starting to fetch data: {datetime.now()}")
|
258 |
|
259 |
global source_dataset, target_dataset, user_ids_annotations, annotated, remaining, percentage_completed, top_dataframe
|
260 |
source_dataset, target_dataset = obtain_source_target_datasets()
|
|
|
267 |
)
|
268 |
|
269 |
# Print the current date and time
|
270 |
+
print(f"Data fetched: {datetime.now()}")
|
271 |
|
272 |
|
273 |
def get_top(N = 10) -> pd.DataFrame:
|