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