Removed try-catch from script, add regex to replace newline
Last pull request (#14) introduced a serious problem when running any script in a single line (python won't run a script with a try-except block in a single line because indentations, see #15 for more details).
Also, running the package on a linux-based server throws an error related with newline not being replaced correctly.
This PR should address all of this.
I need feedback on 753c104 in order to change how to handle exceptions in such cases.
Requesting review from @Gummibeer to merge this asap
I think that's no longer needed as of latest main changes!?
There's a new release: https://github.com/Astrotomic/php-deepface/releases/tag/0.4.0
Sorry for the late reply, there's no need to merge this anymore. Closing this (: