No. It will remain private.
This is because when you set the submodule from the parent folder, you have to specify either the remote github url or the local path. If you specify the local path only, it will not be accessible in the github since its contents will not be pull. Only if you have the subfolder as a public github repo and you specify that when you create the submodule, it will be public.