Hi my friend,
Unfortunately it's not that simple, each .pth needs all the architecture in the app code, but if you want to try you can change the name of the "newmodel.pth" to "BSRGANx4" and see if it works. At 99% Will not work :)