giustinod commited on
Commit
25f4e9f
1 Parent(s): 1ce5c4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def respond(
28
 
29
  response = ""
30
 
31
- for message in client.chat.completions.create(
32
  messages,
33
  max_tokens=max_tokens,
34
  stream=True,
 
28
 
29
  response = ""
30
 
31
+ for message in client.chat_completion(
32
  messages,
33
  max_tokens=max_tokens,
34
  stream=True,