返回提交历史
Modified
you/__init__.py
+2
-2
XFEstudio/gpt4free
fix
c70a257b
代码差异
1 个文件
+2
-2
@@ -59,7 +59,7 @@ class Completion:
59
59
60
60
youChatSerpResults = findall(r'youChatSerpResults\ndata: (.*)\n\nevent', response.text)[0]
61
61
thirdPartySearchResults = findall(r"thirdPartySearchResults\ndata: (.*)\n\nevent", response.text)[0]
62
slots = findall(r"slots\ndata: (.*)\n\nevent", response.text)[0]
62
#slots = findall(r"slots\ndata: (.*)\n\nevent", response.text)[0]
63
63
64
64
text = response.text.split('}]}\n\nevent: youChatToken\ndata: {"youChatToken": "')[-1]
65
65
text = text.replace('"}\n\nevent: youChatToken\ndata: {"youChatToken": "', '')
@@ -67,7 +67,7 @@ class Completion:
67
67
68
68
extra = {
69
69
'youChatSerpResults' : loads(youChatSerpResults),
70
'slots' : loads(slots)
70
#'slots' : loads(slots)
71
71
}
72
72
73
73
return {