Answer the question
In order to leave comments, you need to log in
How to organize the replacement of module implementations in other projects from git to Python?
For example, I have such a FastSpeech2 project . And I need to completely replace this part of the program: texts - do all my own modules, in the same organization, but my own data.
There are many such projects where there is such a common texts module. I will need to replace the data in each file of this common module (folders, or how to call it correctly?) texts.
What can be done better so as not to copy-paste the code in every project?
I imagine that I will write my texts, where all the modules that it includes will be, but how to connect then? Delete the folder and replace with your own?
Or can I somehow lay out my code so that I can download it from the network (via pip) and simply override the methods on my own?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question