Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye committed Oct 15, 2023
1 parent a94201a commit 773d27d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ A easy, reliable, fluid template for python packages complete with docs, testing
`pip install dalle3`


# Usage
```
```



# License
MIT
Expand Down
File renamed without changes.
7 changes: 6 additions & 1 deletion dalle/main.py → main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait
from undetected_chromedriver import Chrome, ChromeOptions
from webdriver_manager.chrome import ChromeDriverManager
from selenium import webdriver




def get_cookie_value():
options = ChromeOptions()
options.add_argument("--disable-blink-features=AutomationControlled")
options.add_argument("--headless")
driver = Chrome(options=options)
driver = webdriver.Chrome(ChromeDriverManager().install())


# Go to Bing Image Creator and log in manually here.
# Once logged in, the script will proceed to get the cookie.
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ version = "0.0.1"
description = "dalle3 - Pytorch"
license = "MIT"
authors = ["Kye Gomez <kye@apac.ai>"]
homepage = "https://github.com/kyegomez/paper"
homepage = "https://github.com/Agora-X/DALLE3-API"
documentation = "" # Add this if you have documentation.
readme = "README.md" # Assuming you have a README.md
repository = "https://github.com/kyegomez/paper"
repository = "https://github.com/Agora-X/DALLE3-API"
keywords = ["artificial intelligence", "deep learning", "optimizers", "Prompt Engineering"]
classifiers = [
"Development Status :: 4 - Beta",
Expand All @@ -23,7 +23,7 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.6"
undetected-chromdriver = "*"
undetected-chromedriver = "*"
selenium = "*"
requests = "*"

Expand Down
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
undetected-chromdriver
undetected-chromedriver
selenium
requests
requests
webdriver-manager

0 comments on commit 773d27d

Please sign in to comment.