Skip to content

Commit

Permalink
MISC should be using question instead of Question to display the …
Browse files Browse the repository at this point in the history
…correct message.
  • Loading branch information
Hassan-Elseoudy committed Nov 14, 2023
1 parent 219e284 commit ac4eea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vanna/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ def train(
if sql:
if question is None:
question = generate_question(sql)
print("Question generated with sql:", Question, "\nAdding SQL...")
print("Question generated with sql:", question, "\nAdding SQL...")
return add_sql(question=question, sql=sql)

if ddl:
Expand Down

0 comments on commit ac4eea4

Please sign in to comment.