How to recursively find all ipynb files in a directory, and why does my bash code fail

#!/bin/bash

directory= /Users/sakshamgupta/Downloads/Automation-TCN/Data
for var in $(find $directory -type f -name "*.ipynb")
do
    echo "${var:2}"
done

I am trying to read all ipynb files in a directory and subdirectory. The script gives the error below

./convert-ipynb-py.bash: line 3: /Users/sakshamgupta/Downloads/Automation-TCN/Data: is a directory
find: illegal option -- t
How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum