支持gpt-4-vision-preview

这个提交包含在:
binary-husky
2023-11-13 13:10:15 +08:00
父节点 f03aa8713d
当前提交 9a21e13d33
共有 3 个文件被更改,包括 347 次插入2 次删除

查看文件

@@ -279,9 +279,12 @@ def text_divide_paragraph(text):
if '```' in text:
# careful input
return pre + text + suf
return text
elif '</div>' in text:
# careful input
return text
else:
# wtf input
# whatever input
lines = text.split("\n")
for i, line in enumerate(lines):
lines[i] = lines[i].replace(" ", "&nbsp;")