Using nicknames in public is fine as long as your girlfriend is comfortable with it; always prioritize her comfort.