summaryrefslogtreecommitdiffstats
path: root/interference
diff options
context:
space:
mode:
authorBagus Indrayana <bagusindrayanaindo@gmail.com>2023-08-17 15:46:32 +0200
committerBagus Indrayana <bagusindrayanaindo@gmail.com>2023-08-17 15:46:32 +0200
commit6f999d5151c39b614c2872f428e8f61bf3042ccc (patch)
tree60a3378a89f70bccd35cae14e6b236ccd4422f85 /interference
parentrefactor V50 and Raycast (diff)
parent~ | Merge pull request #812 (diff)
downloadgpt4free-6f999d5151c39b614c2872f428e8f61bf3042ccc.tar
gpt4free-6f999d5151c39b614c2872f428e8f61bf3042ccc.tar.gz
gpt4free-6f999d5151c39b614c2872f428e8f61bf3042ccc.tar.bz2
gpt4free-6f999d5151c39b614c2872f428e8f61bf3042ccc.tar.lz
gpt4free-6f999d5151c39b614c2872f428e8f61bf3042ccc.tar.xz
gpt4free-6f999d5151c39b614c2872f428e8f61bf3042ccc.tar.zst
gpt4free-6f999d5151c39b614c2872f428e8f61bf3042ccc.zip
Diffstat (limited to '')
-rw-r--r--interference/app.py1
-rw-r--r--interference/requirements.txt2
2 files changed, 2 insertions, 1 deletions
diff --git a/interference/app.py b/interference/app.py
index 30a9b129..8018356f 100644
--- a/interference/app.py
+++ b/interference/app.py
@@ -12,7 +12,6 @@ from g4f import ChatCompletion
app = Flask(__name__)
CORS(app)
-
@app.route("/chat/completions", methods=["POST"])
def chat_completions():
model = request.get_json().get("model", "gpt-3.5-turbo")
diff --git a/interference/requirements.txt b/interference/requirements.txt
new file mode 100644
index 00000000..d376491c
--- /dev/null
+++ b/interference/requirements.txt
@@ -0,0 +1,2 @@
+flask_cors
+watchdog~=3.0.0 \ No newline at end of file