Spaces:
Runtime error
Runtime error
alonsosilva
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -81,11 +81,11 @@ def __(add_generation_prompt, messages, mo, tokenizer, tools):
|
|
81 |
output2 = mo.md(tokenizer.apply_chat_template(messages,
|
82 |
add_generation_prompt= add_generation_prompt.value,
|
83 |
tools=tools,
|
84 |
-
tokenize=False).replace("\n","\n\n").replace("#", "
|
85 |
else:
|
86 |
output2 = mo.md(tokenizer.apply_chat_template(messages,
|
87 |
add_generation_prompt= add_generation_prompt.value,
|
88 |
-
tokenize=False).replace("\n","\n\n").replace("#", "
|
89 |
else:
|
90 |
output2 = ""
|
91 |
return (output2,)
|
|
|
81 |
output2 = mo.md(tokenizer.apply_chat_template(messages,
|
82 |
add_generation_prompt= add_generation_prompt.value,
|
83 |
tools=tools,
|
84 |
+
tokenize=False).replace("\n","\n\n").replace("#", "\#"))
|
85 |
else:
|
86 |
output2 = mo.md(tokenizer.apply_chat_template(messages,
|
87 |
add_generation_prompt= add_generation_prompt.value,
|
88 |
+
tokenize=False).replace("\n","\n\n").replace("#", "\#"))
|
89 |
else:
|
90 |
output2 = ""
|
91 |
return (output2,)
|