tea-phan-y elliot18 commited on
Commit
790e6da
·
verified ·
1 Parent(s): 5aa0bdb

- update (e8112a73fe203e291edf4c7f890bb1ff609e5535)


Co-authored-by: Elliot Ismail <[email protected]>

Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -74,6 +74,7 @@ def generate_response(user_query, relevant_segment):
74
 
75
  response = openai.ChatCompletion.create(
76
  model="gpt-3.5-turbo",
 
77
  messages=messages,
78
  max_tokens=150,
79
  temperature=0.2,
 
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,