while using py-script in html I am facing some issues

34 Views Asked by At

while using py-script in html i got this error:-

ERROR image you can check here by opening the link i watched youtube videos but can't find any solution, i need to solve this error as soon as possible, cause this is my final year college project

1

There are 1 best solutions below

0
Jeff Glass On

Streamlit is unlikely to work directly in PyScript - it relies on the assumption that it's running in a Desktop Environment in a number of ways.

You should have a look at stlite, which allows you to run Streamlit-style code client-side in the browser using Pyodide.