Sabbah13 commited on
Commit
d956ecd
1 Parent(s): 2b3433c

Update openai_requests.py

Browse files
Files changed (1) hide show
  1. openai_requests.py +1 -1
openai_requests.py CHANGED
@@ -4,7 +4,7 @@ import requests
4
  import json
5
  import math
6
 
7
- def get_completion_from_openai(prompt, max_tokens = None, model):
8
  url = os.getenv('OPENAI_COMPLETION_URL')
9
 
10
  headers = {
 
4
  import json
5
  import math
6
 
7
+ def get_completion_from_openai(prompt,model, max_tokens = None):
8
  url = os.getenv('OPENAI_COMPLETION_URL')
9
 
10
  headers = {