mwmbl/app.py
2021-06-13 21:41:19 +01:00

7 lines
212 B
Python

import create_app
from index import TinyIndex, PAGE_SIZE, NUM_PAGES, Document
from paths import INDEX_PATH
tiny_index = TinyIndex(Document, INDEX_PATH, NUM_PAGES, PAGE_SIZE)
app = create_app.create(tiny_index)