Dockerfile

This commit is contained in:
Mateusz 2024-04-01 16:54:55 +02:00
parent 52be040de8
commit ee6f594ac1

View File

@ -10,7 +10,7 @@ from sklearn.model_selection import train_test_split
def download_kaggle_dataset(): def download_kaggle_dataset():
print(f'Kaggle API key: {os.environ["KAGGLE_KEY"]}') print(sys.argv)
os.environ["KAGGLE_USERNAME"] = sys.argv[1] os.environ["KAGGLE_USERNAME"] = sys.argv[1]
os.environ["KAGGLE_KEY"] = sys.argv[2] os.environ["KAGGLE_KEY"] = sys.argv[2]
kaggle = KaggleApi() kaggle = KaggleApi()