Update api.py
Browse files
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(
|
| 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:
|