Skip to content

Commit

Permalink
Hot fix - Assign response to empty list.
Browse files Browse the repository at this point in the history
  • Loading branch information
boushrabettir committed Oct 21, 2023
1 parent 6b7f174 commit 20dd3e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utility/palm.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def current_model_inuse() -> any:
def parse_gpt_values(gpt_response: str) -> List[bool]:
"""Helper function to parse the gpt response from a str -> List[bool]"""

response: List[bool]
response: List[bool] = []

for _ in range(MAX_RETRY):
try:
Expand Down

0 comments on commit 20dd3e8

Please sign in to comment.