When I comment the above part of function it's error fixed but the text to speech function don't work correctly.
I have tried to understand the Superposition.py function and fix its colab page by this kind, but finally I guess this part(Superposition check pint information and files) of the demo trained model is missing and because of that the model_graph() function by demo option is not working, so I asked here to be sure and if possible ave some suggestion for next step to make it fix and working.
Also, there is one GitHub project which has been said by this issue which have successfully fixed this error, but its language changed to C at it's GitHub page and I refused to check its code for find some solution on that.(but pasted here, maybe becomes useful!)
I have tried to fix this project demo colab page and get this error:
which the error came from this part of the model_graph() function:
When I comment the above part of function it's error fixed but the text to speech function don't work correctly.
I have tried to understand the Superposition.py function and fix its colab page by this kind, but finally I guess this part(Superposition check pint information and files) of the demo trained model is missing and because of that the model_graph() function by demo option is not working, so I asked here to be sure and if possible ave some suggestion for next step to make it fix and working.
Also, there is one GitHub project which has been said by this issue which have successfully fixed this error, but its language changed to C at it's GitHub page and I refused to check its code for find some solution on that.(but pasted here, maybe becomes useful!)
Also asked here:
https://stackoverflow.com/questions/65964644/trying-to-fix-superresolution-part-of-persian-text-to-speech-github-project-code
Thanks for your consideration.