summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/selenium/Phind.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2023-12-02 05:40:07 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2023-12-02 05:40:07 +0100
commit2157ccbcdb5d781d389e24db332d2fb78b1159a9 (patch)
tree0ba2ad0cb7fffd5b4882e2dad25bea1b6f984e33 /g4f/Provider/selenium/Phind.py
parentAdd proxy support / fix streaming (diff)
downloadgpt4free-2157ccbcdb5d781d389e24db332d2fb78b1159a9.tar
gpt4free-2157ccbcdb5d781d389e24db332d2fb78b1159a9.tar.gz
gpt4free-2157ccbcdb5d781d389e24db332d2fb78b1159a9.tar.bz2
gpt4free-2157ccbcdb5d781d389e24db332d2fb78b1159a9.tar.lz
gpt4free-2157ccbcdb5d781d389e24db332d2fb78b1159a9.tar.xz
gpt4free-2157ccbcdb5d781d389e24db332d2fb78b1159a9.tar.zst
gpt4free-2157ccbcdb5d781d389e24db332d2fb78b1159a9.zip
Diffstat (limited to 'g4f/Provider/selenium/Phind.py')
-rw-r--r--g4f/Provider/selenium/Phind.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/g4f/Provider/selenium/Phind.py b/g4f/Provider/selenium/Phind.py
index b9a37f97..2722307d 100644
--- a/g4f/Provider/selenium/Phind.py
+++ b/g4f/Provider/selenium/Phind.py
@@ -6,7 +6,7 @@ from urllib.parse import quote
from ...typing import CreateResult, Messages
from ..base_provider import BaseProvider
from ..helper import format_prompt
-from ..webdriver import WebDriver, WebDriverSession
+from ...webdriver import WebDriver, WebDriverSession
class Phind(BaseProvider):
url = "https://www.phind.com"
@@ -26,7 +26,6 @@ class Phind(BaseProvider):
creative_mode: bool = None,
**kwargs
) -> CreateResult:
- driver.start_session
with WebDriverSession(webdriver, "", proxy=proxy) as driver:
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait