themeetjani commited on
Commit
6ea0857
1 Parent(s): d1cfdb3

Update pages/tc.py

Browse files
Files changed (1) hide show
  1. pages/tc.py +2 -2
pages/tc.py CHANGED
@@ -134,8 +134,8 @@ if uploaded_file:
134
  {"role": "user", "content": f'What do the following have in common?\n\nValues:\n"""\n{reviews}\n"""\n\nTheme:'}
135
  ]
136
 
137
- response = openai.completions.create(
138
- model="gpt-3.5-turbo-instruct",
139
  messages=messages,
140
  temperature=0,
141
  max_tokens=64,
 
134
  {"role": "user", "content": f'What do the following have in common?\n\nValues:\n"""\n{reviews}\n"""\n\nTheme:'}
135
  ]
136
 
137
+ response = openai.ChatCompletion.create(
138
+ model="gpt-3.5-turbo",
139
  messages=messages,
140
  temperature=0,
141
  max_tokens=64,