If used for cold liquids only, I use beeswax. For soup and other hot liquids, leave it naked. I understand that the oils seep into the pith and seal it (eventually).
I have read that some use a food-safe epoxy to coat gourds.
Any which way, gourds are cheap and disposable...