Spaces:
Runtime error
Runtime error
ashwinaravind
commited on
Commit
•
9573c90
1
Parent(s):
5b895c3
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def invoke_openai(prompt):
|
|
26 |
sys_prompt = "You are a helpful assistant that always answers questions."
|
27 |
# query text-davinci-003
|
28 |
res = client.chat.completions.create(
|
29 |
-
model='gpt-3.5-turbo
|
30 |
messages=[
|
31 |
{"role": "system", "content": sys_prompt},
|
32 |
{"role": "user", "content": prompt}
|
|
|
26 |
sys_prompt = "You are a helpful assistant that always answers questions."
|
27 |
# query text-davinci-003
|
28 |
res = client.chat.completions.create(
|
29 |
+
model='gpt-3.5-turbo',
|
30 |
messages=[
|
31 |
{"role": "system", "content": sys_prompt},
|
32 |
{"role": "user", "content": prompt}
|