Hi, the link provided is the pure ML part of the project, without any Flask thing.
Unfortunately, I don't have written a notebook for it. Maybe you could try to figure it out through the source code? The code itself is actually prettly simple and short.
https://github.com/chonyy/basketball-shot-detection