posted on 2023-05-03 20:06 read(1095) comment(0) like(15) collect(2)
https://github.com/binary-husky/chatgpt_academic
Enter the Github link and download the project
cd to enter the project directory, use the command python -m pip install -r requirements.txt
(ps: downloading with pip may cause dependency problems due to the old version, just re-download/update the corresponding package according to the relevant error report)
conda create -n gptac 'gradio>=3.23' requests
conda activate gptac
python3 -m pip install mdtex2html
config.py
file and modify API_KEY to your own KEYAPI_KEY = "刚才复制的KEY"
The ladder used before only configured the browser side, here is the configuration of the local client.
config.py
the file and modify:
USE_PROXY = True
proxies = { "http": "http://localhost:7890", "https": "http://localhost:7890", }
After entering the project path python main.py
, it will automatically open the link
PS: Maybe there will be some errors at this time. After copying, go to Baidu to check the solution. Generally, the version of the package does not match, just download the corresponding one.
Author:Fiee
link:http://www.pythonblackhole.com/blog/article/252/0ad98473a882dd85087c/
source:python black hole net
Please indicate the source for any form of reprinting. If any infringement is discovered, it will be held legally responsible.
name:
Comment content: (supports up to 255 characters)
Copyright © 2018-2021 python black hole network All Rights Reserved All rights reserved, and all rights reserved.京ICP备18063182号-7
For complaints and reports, and advertising cooperation, please contact vgs_info@163.com or QQ3083709327
Disclaimer: All articles on the website are uploaded by users and are only for readers' learning and communication use, and commercial use is prohibited. If the article involves pornography, reactionary, infringement and other illegal information, please report it to us and we will delete it immediately after verification!