  In this paper, we use a five-dimensional Einstein-dilaton-two-Maxwell
holographic QCD model to investigate the dissociation effects of $J/\Psi$ and
$\Upsilon(1S)$ states in an anisotropic medium by calculating their spectral
functions. First, we present the holographic quarkonium masses at zero
temperature via Physics-Informed Neural Networks. Then, at finite temperature,
we derive the spectral functions, representing heavy vector mesons as peaks,
and observe that with increasing anisotropy, temperature, chemical potential,
and warp factor, the peak height diminishes while its width expands, indicating
an accelerated dissociation process. Additionally, the results indicate the
anisotropy induces a stronger dissociation effect in the direction parallel to
the polarization compared to the perpendicular, revealing the anisotropy's
directional influence.
