yangtb24 commited on
Commit
ffd6919
·
verified ·
1 Parent(s): c65ed88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,6 +3,7 @@ import time
3
  import logging
4
  import requests
5
  import json
 
6
  import concurrent.futures
7
  from datetime import datetime, timedelta
8
  from apscheduler.schedulers.background import BackgroundScheduler
@@ -457,7 +458,7 @@ def list_models():
457
  {
458
  "id": f"modelperm-{uuid.uuid4().hex}",
459
  "object": "model_permission",
460
- "created": 1678888888, # 统一使用一个示例时间戳
461
  "allow_create_engine": False,
462
  "allow_sampling": True,
463
  "allow_logprobs": True,
 
3
  import logging
4
  import requests
5
  import json
6
+ import random
7
  import concurrent.futures
8
  from datetime import datetime, timedelta
9
  from apscheduler.schedulers.background import BackgroundScheduler
 
458
  {
459
  "id": f"modelperm-{uuid.uuid4().hex}",
460
  "object": "model_permission",
461
+ "created": 1678888888,
462
  "allow_create_engine": False,
463
  "allow_sampling": True,
464
  "allow_logprobs": True,