rrk757 commited on
Commit
8444bba
·
verified ·
1 Parent(s): f9d2275

indentation

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -15,7 +15,11 @@ if history:
15
 
16
  response = ""
17
 
18
- for message in client.chat_completion(messages,max_tokens=50, stream=True):
 
 
 
 
19
  token = message.choices[0].delta.content
20
  response += token
21
  yield response
 
15
 
16
  response = ""
17
 
18
+ for message in client.chat_completion(
19
+ messages,
20
+ max_tokens=50,
21
+ stream=True
22
+ ):
23
  token = message.choices[0].delta.content
24
  response += token
25
  yield response