summaryrefslogtreecommitdiffstats
path: root/g4f/Provider
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-10-24 11:35:51 +0200
committerGitHub <noreply@github.com>2023-10-24 11:35:51 +0200
commit8ff05131042011d422e3bd7921b63017625057b9 (patch)
tree4fb6f998cd97175df9d7ac65175800e3f6a329d1 /g4f/Provider
parent~ (diff)
parentUpdate FreeGpt.py (diff)
downloadgpt4free-8ff05131042011d422e3bd7921b63017625057b9.tar
gpt4free-8ff05131042011d422e3bd7921b63017625057b9.tar.gz
gpt4free-8ff05131042011d422e3bd7921b63017625057b9.tar.bz2
gpt4free-8ff05131042011d422e3bd7921b63017625057b9.tar.lz
gpt4free-8ff05131042011d422e3bd7921b63017625057b9.tar.xz
gpt4free-8ff05131042011d422e3bd7921b63017625057b9.tar.zst
gpt4free-8ff05131042011d422e3bd7921b63017625057b9.zip
Diffstat (limited to 'g4f/Provider')
-rw-r--r--g4f/Provider/FreeGpt.py4
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()