alibidaran commited on
Commit
df4973d
·
verified ·
1 Parent(s): f36a7aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def respond(history):
29
  response=llm(text,
30
  max_tokens=512,
31
  echo=True)
32
- response=response['choice'][0]['text']
33
  print(response)
34
  history.append({'role':'assistant','content':""})
35
  for character in response:
 
29
  response=llm(text,
30
  max_tokens=512,
31
  echo=True)
32
+ response=response['choices'][0]['text']
33
  print(response)
34
  history.append({'role':'assistant','content':""})
35
  for character in response: