Update app.py
Browse files
app.py
CHANGED
@@ -235,7 +235,7 @@ def get_siliconflow_data(model_name, data):
|
|
235 |
def refresh_models():
|
236 |
global models
|
237 |
|
238 |
-
models["text"] = get_all_models(
|
239 |
|
240 |
for model_type in ["text"]:
|
241 |
logging.info(f"所有{model_type}模型列表:{models[model_type]}")
|
|
|
235 |
def refresh_models():
|
236 |
global models
|
237 |
|
238 |
+
models["text"] = get_all_models(key_status["valid"][0])
|
239 |
|
240 |
for model_type in ["text"]:
|
241 |
logging.info(f"所有{model_type}模型列表:{models[model_type]}")
|