import pytz
import os
from datetime import datetime
now = datetime.now(tz=pytz.timezone("Asia/Jakarta"))
now = now.strftime("%Y%m%d.%H%M")
os.environ["DATASET_VERSION"] = now
print("Updating dataset on Kaggle with version: {}".format(now))
%%bash
python last_retrieved_trending.py
%%bash
python main.py
%%bash
kaggle datasets version -p ./data -m "$DATASET_VERSION"