fix when all offline

This commit is contained in:
Cyberes 2023-10-23 17:28:59 -06:00
parent 96ba48affc
commit b4e01e129d
1 changed files with 3 additions and 4 deletions

View File

@ -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: