You might want to try pyscript for this.
Natively, there's no way you can run python on browser.
On Tue, 23 May 2023 at 07:52, Lightning Bit <thelegendofearthreturns@gmail.com> wrote:
Hello all,I've created an accessibility app where the speech_recognition package is utilized and triggered upon running a Python function. I can successfully run the Python code in Jupyter Lab - no problems. However, it seems impossible to activate the speech_recognition package on the front-end from my views in the Django application.How can one run Python code from the backend that triggers on the front-end upon clicking a button on a certain page?Thanks all--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ca5edbef-3244-4d67-ad32-3cd9741c8ccdn%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFKhtoTry3Zo06Xpvqssgh9mdCUv_VD2yP%2B_B7ZtqruoTkFf7Q%40mail.gmail.com.
No comments:
Post a Comment