Skip to content

Commit

Permalink
fixed syntax errors in lm_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
StanChan03 committed Nov 23, 2024
1 parent 1431e42 commit 1f6d769
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/tests/lm_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ def test_sem_extract(setup_models, model):
"Tom Brady is a good football player, he has won the NFL championships 7 times",
]
}
df = pd.dataframe(data)
df = pd.DataFrame(data)
user_instruction = "{Text}"
columns = ["Name", "Sport", "Number of Championships"]
df = df.sem_to_schema(user_instruction, columns=columns)
df = df.sem_extract(user_instruction, columns=columns)

expected_df = pd.DataFrame(
{
Expand Down

0 comments on commit 1f6d769

Please sign in to comment.