summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/deprecated
diff options
context:
space:
mode:
authorHeiner Lohaus <heiner@lohaus.eu>2023-10-07 09:02:48 +0200
committerHeiner Lohaus <heiner@lohaus.eu>2023-10-07 09:02:48 +0200
commit4fa6e9c0f597c07d2acf10732fe2aeda270c6ca6 (patch)
tree78c7dbfda4469a074434583bb1fe1dee36cc7e18 /g4f/Provider/deprecated
parentAdd GPTalk and GptForLove Provider (diff)
downloadgpt4free-4fa6e9c0f597c07d2acf10732fe2aeda270c6ca6.tar
gpt4free-4fa6e9c0f597c07d2acf10732fe2aeda270c6ca6.tar.gz
gpt4free-4fa6e9c0f597c07d2acf10732fe2aeda270c6ca6.tar.bz2
gpt4free-4fa6e9c0f597c07d2acf10732fe2aeda270c6ca6.tar.lz
gpt4free-4fa6e9c0f597c07d2acf10732fe2aeda270c6ca6.tar.xz
gpt4free-4fa6e9c0f597c07d2acf10732fe2aeda270c6ca6.tar.zst
gpt4free-4fa6e9c0f597c07d2acf10732fe2aeda270c6ca6.zip
Diffstat (limited to '')
-rw-r--r--g4f/Provider/deprecated/ChatgptLogin.py (renamed from g4f/Provider/ChatgptLogin.py)2
-rw-r--r--g4f/Provider/deprecated/Opchatgpts.py5
-rw-r--r--g4f/Provider/deprecated/__init__.py3
3 files changed, 5 insertions, 5 deletions
diff --git a/g4f/Provider/ChatgptLogin.py b/g4f/Provider/deprecated/ChatgptLogin.py
index 3eb55a64..07f3b914 100644
--- a/g4f/Provider/ChatgptLogin.py
+++ b/g4f/Provider/deprecated/ChatgptLogin.py
@@ -3,7 +3,7 @@ from __future__ import annotations
import os, re
from aiohttp import ClientSession
-from .base_provider import AsyncProvider, format_prompt
+from ..base_provider import AsyncProvider, format_prompt
class ChatgptLogin(AsyncProvider):
diff --git a/g4f/Provider/deprecated/Opchatgpts.py b/g4f/Provider/deprecated/Opchatgpts.py
index 3bfb96f1..ab0d68c9 100644
--- a/g4f/Provider/deprecated/Opchatgpts.py
+++ b/g4f/Provider/deprecated/Opchatgpts.py
@@ -1,8 +1,7 @@
from __future__ import annotations
-from ..ChatgptLogin import ChatgptLogin
+from .ChatgptLogin import ChatgptLogin
class Opchatgpts(ChatgptLogin):
- url = "https://opchatgpts.net"
- working = True \ No newline at end of file
+ url = "https://opchatgpts.net" \ No newline at end of file
diff --git a/g4f/Provider/deprecated/__init__.py b/g4f/Provider/deprecated/__init__.py
index e4528d02..5c66c87f 100644
--- a/g4f/Provider/deprecated/__init__.py
+++ b/g4f/Provider/deprecated/__init__.py
@@ -10,4 +10,5 @@ from .Wewordle import Wewordle
from .Equing import Equing
from .Wuguokai import Wuguokai
from .V50 import V50
-from .FastGpt import FastGpt \ No newline at end of file
+from .FastGpt import FastGpt
+from .ChatgptLogin import ChatgptLogin \ No newline at end of file