Skip to content

ningxiudg/AdvancedAI_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdvancedAI Project

Installation Requirements

  • Python 3.10
  • ChromeDriver

Installation Steps

  1. Clone the repository
git clone <repository-url>
cd AdvancedAI_Project
  1. Install dependencies
pip install -r requirements.txt
  1. Modify the actual driver path
# mail.py
def open_browser_with_cookies(cookie):
    driver_path = "actual driver path"
    # driver_path = "xxx/xxx/chromedriver.exe"
  1. Adapt your base_url, api_key and model
# backend.py
# Modify to your url and key
client = OpenAI(
    base_url="https://...",
    api_key="xxx",
)
# def ask(): modify "deepseek-r1:671b" to your model
model="deepseek-r1:671b",

Usage

  1. Run the python file
python backend.py
  1. Enter the website address in the browser
http://127.0.0.1:5001/
  1. Enter Cookie in the input box

  2. Click the button

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors