fix when all offline
This commit is contained in:
parent
96ba48affc
commit
b4e01e129d
|
@ -120,13 +120,12 @@ def home():
|
|||
else:
|
||||
default_model_info = {
|
||||
'model': 'OFFLINE',
|
||||
'processing': 0,
|
||||
'queued': 0,
|
||||
|
||||
'processing': '-',
|
||||
'queued': '-',
|
||||
'context_size': '-',
|
||||
}
|
||||
default_estimated_wait_sec = 'OFFLINE'
|
||||
|
||||
|
||||
if len(config['analytics_tracking_code']):
|
||||
analytics_tracking_code = f"<script>\n{config['analytics_tracking_code']}\n</script>"
|
||||
else:
|
||||
|
|
Reference in New Issue