That frame is worth its undamaged value minus the cost of replacing the top and down tubes and repainting. That's assuming the fork is OK, and it probably is not. Therefore unless it's something really rare and valuable, it is worth less than zero.
I've worked in five different bike shops. Every one of them would tell you to not ride that frame.