bhavya-k commited on
Commit
06d023d
·
verified ·
1 Parent(s): 94785a9
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def respond(message, history):
17
  stream = True):
18
  # temperature = 0.8
19
  # top_p = 0.65
20
- token = messages.choices[0].delta.content
21
  yield response ["choices"][0]["message"]["content"].strip()
22
 
23
  print(response ["choices"][0]["message"]["content"].strip())
 
17
  stream = True):
18
  # temperature = 0.8
19
  # top_p = 0.65
20
+ token = messages.choices[0].delta.content
21
  yield response ["choices"][0]["message"]["content"].strip()
22
 
23
  print(response ["choices"][0]["message"]["content"].strip())