tracinginsights commited on
Commit
26e8a7e
1 Parent(s): 81493a0

Update pages/Race_Trace.py

Browse files
Files changed (1) hide show
  1. pages/Race_Trace.py +3 -0
pages/Race_Trace.py CHANGED
@@ -5,6 +5,9 @@ import pandas as pd
5
  import kaggle
6
 
7
 
 
 
 
8
  # download the files from dataset
9
  kaggle.api.authenticate()
10
  kaggle.api.dataset_download_files('jtrotman/formula-1-race-events', path='formula-1-race-events', unzip=True)
 
5
  import kaggle
6
 
7
 
8
+ KAGGLE_USERNAME = os.environ['KAGGLE_USERNAME']
9
+ KAGGLE_KEY = os.environ['KAGGLE_KEY']
10
+
11
  # download the files from dataset
12
  kaggle.api.authenticate()
13
  kaggle.api.dataset_download_files('jtrotman/formula-1-race-events', path='formula-1-race-events', unzip=True)