Using contextmanager, change the current working directory for when the inference is run to the session based path that is created on file upload. This should finish up multi-user support.