Hello and welcome!
Definitely replace the frame. Even if there was a chance of straightening it out. I wouldn't. The integrity is gone and this is your life riding on the line. Since the frame and forks are bent it sounds like you have a "parts bike". I would move on and find a TW with a good titled frame. That bike you have pictured looks like the frame has been cut so if you are wanting a stock looking bike I would pass on that bike. Just my .02