cogcorp commited on
Commit
b62233d
·
1 Parent(s): 2f49792

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -36,7 +36,6 @@ def call_openai_api(user_prompt):
36
  try:
37
  response = openai.ChatCompletion.create(
38
  model="gpt-3.5-turbo",
39
- stream=True,
40
  messages=[
41
  {"role": "system", "content": "You are a research assistant. Provide factual short answers to your prompts."},
42
  {"role": "user", "content": f"{text}\n\n{user_prompt}"},
 
36
  try:
37
  response = openai.ChatCompletion.create(
38
  model="gpt-3.5-turbo",
 
39
  messages=[
40
  {"role": "system", "content": "You are a research assistant. Provide factual short answers to your prompts."},
41
  {"role": "user", "content": f"{text}\n\n{user_prompt}"},