返回提交历史
Modified
g4f/Provider/GptTalkRu.py
+1
-1
XFEstudio/gpt4free
Update GptTalkRu.py
5dcbf147
代码差异
1 个文件
+1
-1
@@ -48,7 +48,7 @@ class GptTalkRu(AsyncGeneratorProvider):
48
48
async with session.post(f"{cls.url}/gpt2", json=data, proxy=proxy) as response:
49
49
await raise_for_status(response)
50
50
async for chunk in response.content.iter_any():
51
yield chunk.decode()
51
yield chunk.decode(errors="ignore")
52
52
53
53
def encrypt(public_key: str, value: str) -> str:
54
54
from Crypto.Cipher import PKCS1_v1_5