Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

服务器部署问题 #36

Open
Chunhuixu opened this issue Jun 20, 2023 · 3 comments
Open

服务器部署问题 #36

Chunhuixu opened this issue Jun 20, 2023 · 3 comments

Comments

@Chunhuixu
Copy link

您好,请问一下如果我在我自己的AWS ec2或者在香港的阿里云服务器部署(香港阿里云服务器可以直接访问chatgpt api并返回结果)
应该需要在那里进行修改?实在抱歉我对于服务器的一些概念不是很清楚

@LiangYang666
Copy link
Owner

你好,在配置文件config.yaml中填写apikey,并删除代理的配置,即将HTTPS_PROXY那一行删除

@Chunhuixu
Copy link
Author

非常感谢您迅速的回复!我先自己试试,有问题再请教您。

@pricechen2233
Copy link

求助!!!如何用gunicorn加载该项目而不是用flask自带的服务?需要对main函数做哪些调整吗?我不知道为什么我采用gunicorn加载这个项目后用户数据似乎无法读取了,是和all_user_dict = LRUCache(USER_SAVE_MAX),check_load_pickle()这部分有关吗。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants