KingNish commited on
Commit
c0cb666
1 Parent(s): 445d473

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -31,8 +31,9 @@ def models(text, model="Mixtral 8x7B"):
31
  for response in stream:
32
  if not response.token.text == "</s>":
33
  output += response.token.text
34
- if not response.token.text == "<|assistant|>":
35
- output += response.token.text
 
36
 
37
  return output
38
 
 
31
  for response in stream:
32
  if not response.token.text == "</s>":
33
  output += response.token.text
34
+
35
+ if not response.token.text == "<|assistant|>":
36
+ output += response.token.text
37
 
38
  return output
39