adrienbrdne commited on
Commit
c8397bf
·
verified ·
1 Parent(s): 3da3c5b

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +1 -1
api.py CHANGED
@@ -144,7 +144,7 @@ app = FastAPI(
144
 
145
  def format_ki_descriptions(descriptions: list[str]) -> str:
146
  formatted_descriptions = ""
147
- for ind in range(len(sample)):
148
  ki_number = ind + 1
149
  formatted_description = f"Here is the description of the key issue {ki_number}: <description{ki_number}>{descriptions[ind]}<description{ki_number}>"
150
  if ind == len(sample) - 1:
 
144
 
145
  def format_ki_descriptions(descriptions: list[str]) -> str:
146
  formatted_descriptions = ""
147
+ for ind in range(len(descriptions)):
148
  ki_number = ind + 1
149
  formatted_description = f"Here is the description of the key issue {ki_number}: <description{ki_number}>{descriptions[ind]}<description{ki_number}>"
150
  if ind == len(sample) - 1: