admin08077 commited on
Commit
aa6ed7e
·
verified ·
1 Parent(s): e438b4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def respond(message, history: list[dict], system_message, max_tokens, temperatur
43
  completion = client.chat_completion(
44
  messages,
45
  max_tokens=max_tokens,
46
- stream=False, # Non-streaming mode for simplicity.
47
  temperature=temperature,
48
  top_p=top_p,
49
  )
 
43
  completion = client.chat_completion(
44
  messages,
45
  max_tokens=max_tokens,
46
+ stream=true, # Non-streaming mode for simplicity.
47
  temperature=temperature,
48
  top_p=top_p,
49
  )