diff --git a/server.py b/server.py index 8c287be..4a896af 100644 --- a/server.py +++ b/server.py @@ -143,7 +143,9 @@ def home(): openai_client_api=f'https://{base_client_api}/openai/v1' if opts.enable_openi_compatible_backend else 'disabled', expose_openai_system_prompt=opts.expose_openai_system_prompt, enable_streaming=opts.enable_streaming, - model_choices=model_choices + model_choices=model_choices, + proompters_5_min=stats['stats']['proompters']['5_min'], + proompters_24_hrs=stats['stats']['proompters']['24_hrs'], ) diff --git a/templates/home.html b/templates/home.html index 03f58c2..c366263 100644 --- a/templates/home.html +++ b/templates/home.html @@ -74,6 +74,10 @@ h3 { font-size: 16pt; } + + .no-marker { + list-style: none; + } @@ -109,7 +113,9 @@
Context Size: {{ value.context_size }}
-Average Generation Time: {{ value.avg_generation_time | int }} seconds
+Average Generation Time: {{ value.avg_generation_time | int }}