The ai demo doesn't work #4495
-
Beta Was this translation helpful? Give feedback.
Answered by
evnchn
Mar 18, 2025
Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
v479038280
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello.
First of all, it is good idea to show your terminal output.
It appears that you are not visiting any NiceGUI server, and something else is occupying the port 8080.
An empty NiceGUI page looks like this.
Notice the many default CSS styles. I see none of them in your screenshot.
From your screenshot, you appear to be running Windows. The following command kills all Python instances and port 8080 should be freed up.
taskkill /f /im python.exe
If port 8080 isn't available otherwise, you can change NiceGUI to listen to a different port.
ui.run(port=7777)
Hope this helps 😊