noellarkin
Senior Member
- Mar 14, 2021
- 990
- 1,460
I'm playing around with Parrot Paraphraser, and have got it working on my computer. However, every time I run a .py with it, it takes a while for the paraphraser to initialize..also, most of my workflow doesn't involve python, so I'll have to repeatedly call it via cmd, making the paraphraser reinitialize over and over and over, a huge waste of time.
IMO it would be far more efficient to be able to use the paraphraser as a locally API. How do I convert the function into a local API that I can make requests to, and get paraphrased output as JSON? I'm not all that good at python, so I'm looking for the simplest, most quickly implementable solution.
IMO it would be far more efficient to be able to use the paraphraser as a locally API. How do I convert the function into a local API that I can make requests to, and get paraphrased output as JSON? I'm not all that good at python, so I'm looking for the simplest, most quickly implementable solution.