Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ logger.addHandler(console_handler)
|
|
22 |
def index():
|
23 |
return "flux2api with siliconflow", 200
|
24 |
|
25 |
-
@app.route('/v1/chat/completions', methods=['POST'])
|
26 |
def handle_request():
|
27 |
try:
|
28 |
body = request.json
|
|
|
22 |
def index():
|
23 |
return "flux2api with siliconflow", 200
|
24 |
|
25 |
+
@app.route('/ai/v1/chat/completions', methods=['POST'])
|
26 |
def handle_request():
|
27 |
try:
|
28 |
body = request.json
|