Spaces:
Runtime error
Runtime error
File size: 553 Bytes
f9a9b47 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import sys, os
sys.path.insert(0, os.path.abspath('src'))
import logging
logging.basicConfig(level=logging.INFO)
from app_kit.config import load_app_config
from app_kit.storage import SQLiteStore
from apps.p1_elder_paperwork.pipeline import process_p1_paths
def test():
store = SQLiteStore('/tmp/p1.sqlite3', '/tmp/artifacts')
result = process_p1_paths(['data/demo_packs/p1_elder_paperwork/sample_clinic_reminder_txt/inputs/reminder.txt'], store)
print("Result:", result['triage'], result['summary'])
if __name__ == '__main__':
test()
|