mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-12 08:29:30 -04:00
~ | Merge pull request #817
This commit is contained in:
parent
7759ec7948
commit
710922ef0f
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user