Spaces:
Sleeping
Sleeping
change model live time
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ model_states = None
|
|
18 |
lock_using_model = threading.Lock()
|
19 |
recent_generate_timestamp = time.time()
|
20 |
|
21 |
-
MODEL_LIVE_TIME = 5
|
22 |
|
23 |
|
24 |
def load_model():
|
|
|
18 |
lock_using_model = threading.Lock()
|
19 |
recent_generate_timestamp = time.time()
|
20 |
|
21 |
+
MODEL_LIVE_TIME = 5 * 60 # 5 minutes
|
22 |
|
23 |
|
24 |
def load_model():
|