yangtb24 commited on
Commit
0cfc696
·
verified ·
1 Parent(s): fd1459a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(valid_keys_global[0])
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]}")