ANTARES constraints on a Galactic component of the IceCube cosmic neutrino flux