LiamKhoaLe commited on
Commit
fe3e2c5
·
1 Parent(s): 5ba82a5

Upd indent

Browse files
Files changed (1) hide show
  1. api/chatbot.py +2 -2
api/chatbot.py CHANGED
@@ -586,8 +586,8 @@ class CookingTutorChatbot:
586
  doc_id = extract_numeric_id(citation_id)
587
 
588
  if doc_id is not None and doc_id in url_mapping:
589
- url = url_mapping[doc_id]
590
- urls.append(f'<{url}>')
591
  logger.info(f"[CITATION] Replacing <#{citation_id}> with {url}")
592
  else:
593
  if doc_id is None:
 
586
  doc_id = extract_numeric_id(citation_id)
587
 
588
  if doc_id is not None and doc_id in url_mapping:
589
+ url = url_mapping[doc_id]
590
+ urls.append(f'<{url}>')
591
  logger.info(f"[CITATION] Replacing <#{citation_id}> with {url}")
592
  else:
593
  if doc_id is None: