Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
henry-yeh committed Sep 9, 2024
1 parent e9a137d commit a1c26a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpv/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def parse(self, texts: list[str], entities: list[list[str]], entity_resolution:
perceptions = response.get("perceptions", [])
except Exception as e:
print(e)
warnings.warn(f"Failed to parse the response: {response}")
warnings.warn(f"Failed to parse the response: {responses[response_idx]}")
perceptions = []
if entity not in entity2perceptions:
entity2perceptions[entity] = []
Expand Down

0 comments on commit a1c26a7

Please sign in to comment.