mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-15 14:51:19 -08:00
Update GptTalkRu.py
This commit is contained in:
parent
95e61ad79b
commit
5dcbf147b6
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class GptTalkRu(AsyncGeneratorProvider):
|
|||
async with session.post(f"{cls.url}/gpt2", json=data, proxy=proxy) as response:
|
||||
await raise_for_status(response)
|
||||
async for chunk in response.content.iter_any():
|
||||
yield chunk.decode()
|
||||
yield chunk.decode(errors="ignore")
|
||||
|
||||
def encrypt(public_key: str, value: str) -> str:
|
||||
from Crypto.Cipher import PKCS1_v1_5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue