fix a minor bug in silent mode

This commit is contained in:
Ashik K 2023-04-10 11:03:33 +02:00
parent 23b69fe325
commit f8d599bfa2
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ else:
completion = None
apioutput = None
if api_model == "text-davinci-003":
print("Using model " + api_model)
if smarsh_dont_warn != True:
print("Using model " + api_model)
# Get the completion from OpenAI
completion = openai.Completion.create(
model="text-davinci-003",