diff options
author | Shubh Gajjar <96479341+Shubhgajj2004@users.noreply.github.com> | 2023-10-24 10:17:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 10:17:55 +0200 |
commit | f0f5cb05f9e890493d1dec6b42df2ef45f90d654 (patch) | |
tree | be28eadae2e234624aa00476f7857461c864db22 /g4f/Provider | |
parent | Merge pull request #1134 from eltociear/patch-4 (diff) | |
download | gpt4free-f0f5cb05f9e890493d1dec6b42df2ef45f90d654.tar gpt4free-f0f5cb05f9e890493d1dec6b42df2ef45f90d654.tar.gz gpt4free-f0f5cb05f9e890493d1dec6b42df2ef45f90d654.tar.bz2 gpt4free-f0f5cb05f9e890493d1dec6b42df2ef45f90d654.tar.lz gpt4free-f0f5cb05f9e890493d1dec6b42df2ef45f90d654.tar.xz gpt4free-f0f5cb05f9e890493d1dec6b42df2ef45f90d654.tar.zst gpt4free-f0f5cb05f9e890493d1dec6b42df2ef45f90d654.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/Provider/FreeGpt.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g4f/Provider/FreeGpt.py b/g4f/Provider/FreeGpt.py index a6d31644..00d9137d 100644 --- a/g4f/Provider/FreeGpt.py +++ b/g4f/Provider/FreeGpt.py @@ -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()
\ No newline at end of file + return hashlib.sha256(data.encode()).hexdigest() |