Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Using a client to connect to a prediction HTTP service would be my choice (Flask app?). Otherwise if you want to you can do something with the backticks, which will run a shell process from Ruby and get the return value: `python3 predict.py <input>`


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: