mirror of https://github.com/xtekky/gpt4free.git
~ | 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