Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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}")
|