Skip to content

Commit

Permalink
Update apps.py
Browse files Browse the repository at this point in the history
fix apps prompt
  • Loading branch information
loubnabnl authored Jun 12, 2023
1 parent 0fec5e9 commit 7d5090d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lm_eval/tasks/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_prompt(self, doc):
prompt += doc["question"]
if starter_code:
prompt += starter_code
if fn_name:
if not fn_name:
call_format = "\nUse Standard Input format"
prompt += call_format
else:
Expand Down

0 comments on commit 7d5090d

Please sign in to comment.