Given a Hilbert scheme of curves $\mathrm{Hilb}^P(X)$, with $X$ being smooth irreducible scheme. If $h^0(C, \mathcal{N}_{C/X})$ and $h^1(C, \mathcal{N}_{C/X})$ are constant for all curves $C$ parametrized by the scheme, where $\mathcal{N}_{C/X}$ is the normal sheaf of the curve $C$, can one deduce that $\mathrm{Hilb}^P(X)$ is locally a complete intersection?
Intuitively, since $\mathrm{Hilb}^P(X)$ is projective, it seems that it should be possible to use the corresponding embedding in the $\mathbb{P}^n$ and then use the information on the tangent spaces given by the dimension of cohomology of the normal sheaf to get the result we want. The problem is that I don't know how to make it precise.
Thanks in advance.