fix bug in predict

#11
by RCaz - opened
No description provided.

location of bug is here

File "/app/app.py", line 178, in predict
f"{i+1} : {doc.metadata["source"].split("/")[-1]} (page {doc.metadata['page_label']}/{doc.metadata['total_pages']})\n---"
~~~~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'page_label'

RCaz changed pull request status to open

pushed "return langchain messages from predict" from branch pr/10

RCaz changed pull request status to merged

Sign up or log in to comment