brurei commited on
Commit
6731d1f
1 Parent(s): d35c47f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -150,7 +150,7 @@ def chatbot(input_text):
150
 
151
  def chat(MSGS, MaxToken=50, outputs=3):
152
  # We use the Chat Completion endpoint for chat like inputs
153
- response = OpenAI.ChatCompletion.create(
154
  # model used here is ChatGPT
155
  # You can use all these models for this endpoint:
156
  # gpt-4, gpt-4-0314, gpt-4-32k, gpt-4-32k-0314,
 
150
 
151
  def chat(MSGS, MaxToken=50, outputs=3):
152
  # We use the Chat Completion endpoint for chat like inputs
153
+ response = OpenAI.Completion.create(
154
  # model used here is ChatGPT
155
  # You can use all these models for this endpoint:
156
  # gpt-4, gpt-4-0314, gpt-4-32k, gpt-4-32k-0314,