Browse Source

fix calling ui.run in packaging demo

Rodja Trappe 1 year ago
parent
commit
9ab907a72f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      website/documentation.py

+ 1 - 1
website/documentation.py

@@ -681,7 +681,7 @@ def create_full() -> None:
 
                 ui.label('Hello from PyInstaller')
 
-                ui.run(reload=False, native_mode.find_open_port())
+                ui.run(reload=False, port=native_mode.find_open_port())
                 ```
             ''')
         with demo.python_window('build.py', classes='max-w-lg w-full'):