XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Update README.md

c75372e9
chatgpt-tricks <143020293+chatgpt-tricks@users.noreply.github.com>
提交于

代码差异

1 个文件 +4 -2
Modified README.md +4 -2
@@ -278,7 +278,9 @@ asyncio.run(run_async())
278 278 ```
279 279
280 280 ### interference openai-proxy api (use with openai python package)
281
281 #### if you want to use the embedding function, you need to get a huggingface token.
282 #### You can get one at https://huggingface.co/settings/tokens make sure your role is set to write.
283 #### If you have your token, just use it instead of the OpenAI api-key.
282 284 get requirements:
283 285
284 286 ```sh
@@ -294,7 +296,7 @@ python3 -m interference.app
294 296 ```py
295 297 import openai
296 298
297 openai.api_key = ""
299 openai.api_key = "Emppty if you dont use embeddings, otherwise your hugginface token"
298 300 openai.api_base = "http://localhost:1337"
299 301
300 302