elliot18 commited on
Commit
75fe788
·
verified ·
1 Parent(s): 790e6da
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,11 +74,11 @@ def generate_response(user_query, relevant_segment):
74
 
75
  response = openai.ChatCompletion.create(
76
  model="gpt-3.5-turbo",
77
- stop=None
78
  messages=messages,
79
  max_tokens=150,
80
  temperature=0.2,
81
  top_p=1,
 
82
  frequency_penalty=0,
83
  presence_penalty=0
84
  )
 
74
 
75
  response = openai.ChatCompletion.create(
76
  model="gpt-3.5-turbo",
 
77
  messages=messages,
78
  max_tokens=150,
79
  temperature=0.2,
80
  top_p=1,
81
+ Stop=None
82
  frequency_penalty=0,
83
  presence_penalty=0
84
  )