Running Parrot Paraphraser as a local service/API (Windows)

noellarkin

Senior Member
Joined
Mar 14, 2021
Messages
990
Reaction score
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.
 
Back
Top