From f6a9fffb0a9c993480ab3b9a1b758f058557334e Mon Sep 17 00:00:00 2001 From: 0dminnimda <0dminnimda@gmail.com> Date: Thu, 17 Aug 2023 16:28:49 +0300 Subject: [PATCH] Add interference requirements For ease of use and consistency, so the user would not need to guess versions and packages Also document it in README.md --- README.md | 5 +++++ interference/requirements.txt | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 interference/requirements.txt diff --git a/README.md b/README.md index 157ba179..25a5ed7b 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,11 @@ response = g4f.ChatCompletion.create(..., provider=ProviderName) ### interference openai-proxy api (use with openai python package) +get requirements: +```sh +pip install -r interference/requirements.txt +``` + run server: ```sh python3 -m interference.app diff --git a/interference/requirements.txt b/interference/requirements.txt new file mode 100644 index 00000000..113e0575 --- /dev/null +++ b/interference/requirements.txt @@ -0,0 +1,2 @@ +flask_cors +watchdog~=3.0.0