summaryrefslogtreecommitdiffstats
path: root/gui-project/main.py
blob: d98b2c73e0be79a5b35171477995c0a6bdd428a4 (plain)
1
2
3
4
5
6
7
8
9
10
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)