summaryrefslogtreecommitdiffstats
path: root/interference/app.py
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2023-08-17 15:35:52 +0200
committerabc <98614666+xtekky@users.noreply.github.com>2023-08-17 15:35:52 +0200
commit710922ef0f8f110d726cd33335142c88ddf2c07f (patch)
tree3ca9a750fad7947402aadff984e23c804a7eaedf /interference/app.py
parent ~ (diff)
downloadgpt4free-710922ef0f8f110d726cd33335142c88ddf2c07f.tar
gpt4free-710922ef0f8f110d726cd33335142c88ddf2c07f.tar.gz
gpt4free-710922ef0f8f110d726cd33335142c88ddf2c07f.tar.bz2
gpt4free-710922ef0f8f110d726cd33335142c88ddf2c07f.tar.lz
gpt4free-710922ef0f8f110d726cd33335142c88ddf2c07f.tar.xz
gpt4free-710922ef0f8f110d726cd33335142c88ddf2c07f.tar.zst
gpt4free-710922ef0f8f110d726cd33335142c88ddf2c07f.zip
Diffstat (limited to 'interference/app.py')
-rw-r--r--interference/app.py1
1 files changed, 0 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")