ArmelR commited on
Commit
28513ee
1 Parent(s): c20f59b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -123,7 +123,7 @@ def generate(
123
  (response.token.text in ["Human", "-----", "Question:"] and previous_token in ["\n", "-----"])
124
  or response.token.text in ["<|endoftext|>", "<|end|>", "Answer:"]
125
  ):
126
- print("OUT")
127
  return wrap_html_code(output.strip())
128
  else:
129
  output += response.token.text
 
123
  (response.token.text in ["Human", "-----", "Question:"] and previous_token in ["\n", "-----"])
124
  or response.token.text in ["<|endoftext|>", "<|end|>", "Answer:"]
125
  ):
126
+ print("OUT = "+str(output))
127
  return wrap_html_code(output.strip())
128
  else:
129
  output += response.token.text