mirror of https://github.com/ashikslab/smartsh.git
fix a minor bug in silent mode
This commit is contained in:
parent
23b69fe325
commit
f8d599bfa2
|
@ -42,6 +42,7 @@ else:
|
|||
completion = None
|
||||
apioutput = None
|
||||
if api_model == "text-davinci-003":
|
||||
if smarsh_dont_warn != True:
|
||||
print("Using model " + api_model)
|
||||
# Get the completion from OpenAI
|
||||
completion = openai.Completion.create(
|
||||
|
|
Loading…
Reference in New Issue