Spaces:
Sleeping
Sleeping
themeetjani
commited on
Commit
•
6ea0857
1
Parent(s):
d1cfdb3
Update pages/tc.py
Browse files- 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.
|
138 |
-
model="gpt-3.5-turbo
|
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,
|