llama.cpp/examples/server/public
Xuan Son Nguyen feff4aa846
server : add loading html page while model is loading (#9468)
* Adding loading page for '/' server requests

* set content when model is loading

* removed loading html file

* updated cmakelist

* updated makefile

* cleaned up whitespace

* cleanup for PR removed error

* updated server test to handle 503 HTML

* updated server test to handle 503 HTML

* ca†ch 503 before parsing json

* revert test

* account for both api and web browser requests

* precommit corrections

* eol fix

* revert changes to pre-commit

* removed print statement

* made loading message more descriptive

* also support .html files

---------

Co-authored-by: VJHack <flymyplane21@gmail.com>
Co-authored-by: Vinesh Janarthanan <36610342+VJHack@users.noreply.github.com>
2024-09-13 14:23:11 +02:00
..
colorthemes.css server : new UI (#7633) 2024-06-01 22:31:48 +03:00
completion.js server: use relative routes for static files in new UI (#8552) 2024-07-18 12:43:49 +02:00
favicon.ico server : add themes + favicon (#6848) 2024-05-08 22:12:06 +03:00
index-new.html server : fix URL.parse in the UI (#8646) 2024-07-23 17:37:42 +03:00
index.html server : add Speech Recognition & Synthesis to UI (#8679) 2024-07-26 00:10:16 +02:00
index.js server : update deps (#9183) 2024-08-26 12:16:57 +03:00
json-schema-to-grammar.mjs json: restore default additionalProperties to false, fix some pattern escapes (#8180) 2024-06-28 09:26:45 +01:00
loading.html server : add loading html page while model is loading (#9468) 2024-09-13 14:23:11 +02:00
prompt-formats.js server : new UI (#7633) 2024-06-01 22:31:48 +03:00
style.css server : new UI (#7633) 2024-06-01 22:31:48 +03:00
system-prompts.js server : new UI (#7633) 2024-06-01 22:31:48 +03:00
theme-beeninorder.css server : new UI (#7633) 2024-06-01 22:31:48 +03:00
theme-ketivah.css server : new UI (#7633) 2024-06-01 22:31:48 +03:00
theme-mangotango.css server : new UI (#7633) 2024-06-01 22:31:48 +03:00
theme-playground.css server : new UI (#7633) 2024-06-01 22:31:48 +03:00
theme-polarnight.css server : new UI (#7633) 2024-06-01 22:31:48 +03:00
theme-snowstorm.css server : new UI (#7633) 2024-06-01 22:31:48 +03:00