mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-24 09:48:15 +03:00
~ | Merge pull request #1140 from Shubhgajj2004/patch-1
Update FreeGpt.py
This commit is contained in:
commit
8ff0513104
@ -7,7 +7,7 @@ from ..requests import StreamSession
|
||||
from .base_provider import AsyncGeneratorProvider
|
||||
|
||||
domains = [
|
||||
'https://r.aifree.site'
|
||||
'https://s.aifree.site'
|
||||
]
|
||||
|
||||
class FreeGpt(AsyncGeneratorProvider):
|
||||
@ -59,4 +59,4 @@ class FreeGpt(AsyncGeneratorProvider):
|
||||
|
||||
def generate_signature(timestamp: int, message: str, secret: str = ""):
|
||||
data = f"{timestamp}:{message}:{secret}"
|
||||
return hashlib.sha256(data.encode()).hexdigest()
|
||||
return hashlib.sha256(data.encode()).hexdigest()
|
||||
|
Loading…
Reference in New Issue
Block a user