now index is connected with weight file
Merge pull request #8 from Dikeshgupta/master

now index is connected with weight file