Nbdev :: issue importing tensorflow in exported module

I have attached 3 screenshots showing my situation. I have a function defined in a notebook and exported to a module named models.py. In a third notebook I am trying to instantiate the model by calling the function in models.py. I am getting the error “tf is not defined” as shown. I have no idea why. At first I thought there was something wrong with the way I’ve structured the modules and/or the import statements, but I recreated the module and import structure just using plain python scripts and everything works fine.

This was resolved just by restarting my notebook ugh.