Error installing NVIDIA drivers on Debian 13

Hello, when I install the Nvidia drivers on Debian 12, I don’t encounter any errors. However, when I try to verify the installation with nvidia-detect, it prompts me to install the Nvidia driver. Thank you in advance for your response.

Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1)

Checking card:  NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
Your card is supported by all driver versions.
Your card is also supported by the Tesla 470 drivers series.
It is recommended to install the
    nvidia-driver
package.

Installation nvidia-driver

update-initramfs: Generating /boot/initrd.img-6.8.12-amd64