smgc commited on
Commit
b735536
1 Parent(s): 75f0860

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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