smgc commited on
Commit
1bb5ea3
·
verified ·
1 Parent(s): 04d18d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -6,7 +6,11 @@ import random
6
 
7
  app = Flask(__name__)
8
 
9
- @app.route('/v1/chat/completions', methods=['POST'])
 
 
 
 
10
  def handle_request():
11
  try:
12
  body = request.json
 
6
 
7
  app = Flask(__name__)
8
 
9
+ @app.route('/')
10
+ def index():
11
+ return "flux2api with siliconflow", 200
12
+
13
+ @app.route('/ai/v1/chat/completions', methods=['POST'])
14
  def handle_request():
15
  try:
16
  body = request.json