From f0f5cb05f9e890493d1dec6b42df2ef45f90d654 Mon Sep 17 00:00:00 2001 From: Shubh Gajjar <96479341+Shubhgajj2004@users.noreply.github.com> Date: Tue, 24 Oct 2023 13:47:55 +0530 Subject: Update FreeGpt.py Changed older domain url with the working new url --- g4f/Provider/FreeGpt.py | 4 ++-- 1 file 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() -- cgit v1.2.3