Masa-digital-art commited on
Commit
bf312e6
·
1 Parent(s): 9d7a649

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,7 +33,7 @@ article = """
33
 
34
  load_dotenv()
35
  openai.api_key = os.getenv('OPENAI_API_KEY')
36
- MODEL = "gpt-3.5-turbo-16k-1106"
37
 
38
  def get_filetext(filename, cache={}):
39
  if filename in cache:
@@ -57,7 +57,7 @@ class OpenAI:
57
 
58
  # ChatCompletion APIに渡すデータを定義する
59
  data = {
60
- "model": "gpt-3.5-turbo-16k-1106",
61
  "messages": [
62
  {"role": "system", "content": constraints}
63
  ,{"role": "system", "content": template}
 
33
 
34
  load_dotenv()
35
  openai.api_key = os.getenv('OPENAI_API_KEY')
36
+ MODEL = "gpt-3.5-turbo-1106"
37
 
38
  def get_filetext(filename, cache={}):
39
  if filename in cache:
 
57
 
58
  # ChatCompletion APIに渡すデータを定義する
59
  data = {
60
+ "model": "gpt-3.5-turbo-1106",
61
  "messages": [
62
  {"role": "system", "content": constraints}
63
  ,{"role": "system", "content": template}