summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/selenium
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g4f/Provider/selenium/AItianhuSpace.py (renamed from g4f/Provider/AItianhuSpace.py)10
-rw-r--r--g4f/Provider/selenium/MyShell.py (renamed from g4f/Provider/MyShell.py)8
-rw-r--r--g4f/Provider/selenium/PerplexityAi.py (renamed from g4f/Provider/PerplexityAi.py)8
-rw-r--r--g4f/Provider/selenium/TalkAi.py (renamed from g4f/Provider/TalkAi.py)6
-rw-r--r--g4f/Provider/selenium/__init__.py6
5 files changed, 21 insertions, 17 deletions
diff --git a/g4f/Provider/AItianhuSpace.py b/g4f/Provider/selenium/AItianhuSpace.py
index 11725db7..9878bd5a 100644
--- a/g4f/Provider/AItianhuSpace.py
+++ b/g4f/Provider/selenium/AItianhuSpace.py
@@ -3,11 +3,11 @@ from __future__ import annotations
import time
import random
-from ..typing import CreateResult, Messages
-from .base_provider import AbstractProvider
-from .helper import format_prompt, get_random_string
-from ..webdriver import WebDriver, WebDriverSession
-from .. import debug
+from ...typing import CreateResult, Messages
+from ..base_provider import AbstractProvider
+from ..helper import format_prompt, get_random_string
+from ...webdriver import WebDriver, WebDriverSession
+from ... import debug
class AItianhuSpace(AbstractProvider):
url = "https://chat3.aiyunos.top/"
diff --git a/g4f/Provider/MyShell.py b/g4f/Provider/selenium/MyShell.py
index 145cc0bf..a3f246ff 100644
--- a/g4f/Provider/MyShell.py
+++ b/g4f/Provider/selenium/MyShell.py
@@ -2,10 +2,10 @@ from __future__ import annotations
import time, json
-from ..typing import CreateResult, Messages
-from .base_provider import AbstractProvider
-from .helper import format_prompt
-from ..webdriver import WebDriver, WebDriverSession, bypass_cloudflare
+from ...typing import CreateResult, Messages
+from ..base_provider import AbstractProvider
+from ..helper import format_prompt
+from ...webdriver import WebDriver, WebDriverSession, bypass_cloudflare
class MyShell(AbstractProvider):
url = "https://app.myshell.ai/chat"
diff --git a/g4f/Provider/PerplexityAi.py b/g4f/Provider/selenium/PerplexityAi.py
index 023968dc..4796f709 100644
--- a/g4f/Provider/PerplexityAi.py
+++ b/g4f/Provider/selenium/PerplexityAi.py
@@ -6,10 +6,10 @@ from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.keys import Keys
-from ..typing import CreateResult, Messages
-from .base_provider import AbstractProvider
-from .helper import format_prompt
-from ..webdriver import WebDriver, WebDriverSession
+from ...typing import CreateResult, Messages
+from ..base_provider import AbstractProvider
+from ..helper import format_prompt
+from ...webdriver import WebDriver, WebDriverSession
class PerplexityAi(AbstractProvider):
url = "https://www.perplexity.ai"
diff --git a/g4f/Provider/TalkAi.py b/g4f/Provider/selenium/TalkAi.py
index d4efd269..5aeb48ac 100644
--- a/g4f/Provider/TalkAi.py
+++ b/g4f/Provider/selenium/TalkAi.py
@@ -2,9 +2,9 @@ from __future__ import annotations
import time, json, time
-from ..typing import CreateResult, Messages
-from .base_provider import AbstractProvider
-from ..webdriver import WebDriver, WebDriverSession
+from ...typing import CreateResult, Messages
+from ..base_provider import AbstractProvider
+from ...webdriver import WebDriver, WebDriverSession
class TalkAi(AbstractProvider):
url = "https://talkai.info"
diff --git a/g4f/Provider/selenium/__init__.py b/g4f/Provider/selenium/__init__.py
index 80c48d14..a8c18a49 100644
--- a/g4f/Provider/selenium/__init__.py
+++ b/g4f/Provider/selenium/__init__.py
@@ -1 +1,5 @@
-from .Phind import Phind \ No newline at end of file
+from .AItianhuSpace import AItianhuSpace
+from .MyShell import MyShell
+from .PerplexityAi import PerplexityAi
+from .Phind import Phind
+from .TalkAi import TalkAi \ No newline at end of file