rom redlines import Redlines
diff = Redlines(text,response)
display(Markdown(diff.output_markdown))
results in
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-19-91c2bbd6b02e> in <cell line: 6>()
4 from redlines import Redlines
5
----> 6 diff = Redlines(text,response)
7 display(Markdown(diff.output_markdown))
4 frames
/usr/lib/python3.10/re.py in split(pattern, string, maxsplit, flags)
228 and the remainder of the string is returned as the final element
229 of the list."""
--> 230 return _compile(pattern, flags).split(string, maxsplit)
231
232 def findall(pattern, string, flags=0):
TypeError: expected string or bytes-like object
any ideas? Thanks