Skip to content

Commit f0660e3

Browse files
style: format code with autopep8
Format code with autopep8 This commit fixes the style issues introduced in 0407307 according to the output from Autopep8. Details: None
1 parent 185eb74 commit f0660e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

True False Automation/script.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
# Evaluate each statement using the GPT-3 model
1616
for statement in statements:
1717
prompt = f"Check if the following statement is true or false:\nStatement: {statement}\nAnswer:"
18-
18+
1919
response = openai.Completion.create(
2020
engine="davinci", # Use the appropriate engine
2121
prompt=prompt,
2222
max_tokens=1, # Limit the response to 1 token
2323
)
24-
24+
2525
answer = response.choices[0].text.strip()
26-
26+
2727
print(f"Statement: {statement}")
2828
print(f"Answer: {answer}")
2929
print("----------------------------")

0 commit comments

Comments
 (0)