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