yangtb24 commited on
Commit
253d816
1 Parent(s): 9932fa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -6,7 +6,6 @@ from datetime import datetime, timedelta
6
  from apscheduler.schedulers.background import BackgroundScheduler
7
  from flask import Flask, request, jsonify, Response, stream_with_context
8
 
9
- # 配置日志记录
10
  logging.basicConfig(level=logging.INFO,
11
  format='%(asctime)s - %(levelname)s - %(message)s')
12
 
@@ -16,11 +15,9 @@ MODELS_ENDPOINT = "https://api.siliconflow.cn/v1/models"
16
 
17
  app = Flask(__name__)
18
 
19
- # 全局变量,用于存储模型列表和免费模型列表
20
  all_models = []
21
  free_models = []
22
 
23
- # 全局变量,用于存储各种类型的 KEY 列表
24
  invalid_keys_global = []
25
  free_keys_global = []
26
  unverified_keys_global = []
 
6
  from apscheduler.schedulers.background import BackgroundScheduler
7
  from flask import Flask, request, jsonify, Response, stream_with_context
8
 
 
9
  logging.basicConfig(level=logging.INFO,
10
  format='%(asctime)s - %(levelname)s - %(message)s')
11
 
 
15
 
16
  app = Flask(__name__)
17
 
 
18
  all_models = []
19
  free_models = []
20
 
 
21
  invalid_keys_global = []
22
  free_keys_global = []
23
  unverified_keys_global = []