ArmelR commited on
Commit
c20f59b
·
1 Parent(s): 059c495

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -124,7 +124,7 @@ def generate(
124
  or response.token.text in ["<|endoftext|>", "<|end|>", "Answer:"]
125
  ):
126
  print("OUT")
127
- return output.strip()
128
  else:
129
  output += response.token.text
130
  #print(f"Out_{t} : {output}")
 
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
130
  #print(f"Out_{t} : {output}")