I have a speech recognition python script that basically listens for the user's voice input and gives the text form of what he said.
I want to implement this program on my website, but i cannot use the good old child process way because that way i need to pass some paramates and then receive a result:
const spawn = require("child_process").spawn;
const pythonProcess = spawn('python',["path/to/script.py", arg1, arg2, ...]);
On the front end i am using react for front end, back end is PHP and i am still running a localhost (npm start).
Any way i can make it happen? I have a huge school competition tomorrow. Now it is 12 AM and i will not sleep all night if i have to. If anyone has a solution or a possible solution, please post!
Also, this is not my account so please do not down vote if i made any mistakes.
Aucun commentaire:
Enregistrer un commentaire