from nicegui import ui from main_ui import MainUI FLASHCARDS_ROOT="/home/andreear/git/schwiizertuutsch/flashcards" @ui.page("/") def main_page(): MainUI() ui.run(port=3011)