Spaces:
Running
Running
Update app.py
Browse files
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,
|