WandB "offline" for parts of some scripts

I am doing a machine learning devops course through udacity, and part of it is setting up steps to create a pipeline. I am able to run my first step using the terminal and it works perfectly, and creates an artifact in my WandB project. Whenever I run my second step it insists that wandb is in offline mode even if I use the terminal command to set it to online immediately before (with success message). I also get a hydra error when I run the code trying to connect to wandb, but it runs successfully if I just run the code itself. I’m really not sure what the issue is, I know my code itself is fine because it runs successfully locally. I’ll link my github in case anyone wants to take a shot at figuring it out. IsabellaHitchcock/Project-Build-an-ML-Pipeline-Starter: This is a custom project for WGU, the original project repo is https://github.com/udacity/nd0821-c2-build-model-workflow-starter