Skip to content

The ai demo doesn't work #4495

Closed Answered by evnchn
v479038280 asked this question in Q&A
Mar 18, 2025 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

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 😊

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@v479038280
Comment options

@evnchn
Comment options

Answer selected by v479038280
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants