shreyasa09 commited on
Commit
90afd4b
·
verified ·
1 Parent(s): 701de24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def respond(message, history):
15
  response = client.chat_completion(messages, max_tokens = 100)
16
 
17
 
18
- return response ["choices"] (0)["message"]["content"].strip()
19
 
20
  def echo(messaged, history):
21
  my_list = ["sure", "ask again", "maybe"]
 
15
  response = client.chat_completion(messages, max_tokens = 100)
16
 
17
 
18
+ return response["choices"][0]["message"]["content"].strip()
19
 
20
  def echo(messaged, history):
21
  my_list = ["sure", "ask again", "maybe"]