dotku commited on
Commit
bd9c6bd
·
1 Parent(s): 39de67d

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -18,7 +18,7 @@ def parse_response(response):
18
  result += '\n\nSources: \n'
19
  for source_name in response["source_documents"]:
20
  result += ''.join((source_name.metadata['source'],
21
- "page #:", str(source_name.metadata['page']), ' \n'))
22
  return result
23
 
24
  app = FastAPI()
 
18
  result += '\n\nSources: \n'
19
  for source_name in response["source_documents"]:
20
  result += ''.join((source_name.metadata['source'],
21
+ " page #:", str(source_name.metadata['page']), ' \n'))
22
  return result
23
 
24
  app = FastAPI()