char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
c457e3bf7
char/aliceai-t5-moe
1// Generated by scripts/ui-assets.cmake - do not edit. 2 3#include "ui.h" 4 5@ASSET_ARRAYS@ 6#if defined(LLAMA_UI_HAS_ASSETS) 7static const std::array<llama_ui_asset, @N_ASSETS@> g_assets = {{ 8@ASSET_TABLE@ 9}}; 10#endif 11 12const llama_ui_asset * llama_ui_find_asset(const std::string & name) { 13#if defined(LLAMA_UI_HAS_ASSETS) 14 for (const auto & a : g_assets) { 15 if (a.name == name) { 16 return &a; 17 } 18 } 19#else 20 (void) name; 21#endif 22 return nullptr; 23} 24 25const std::array<llama_ui_asset, @N_ASSETS@> & llama_ui_get_assets() { 26#if defined(LLAMA_UI_HAS_ASSETS) 27 return g_assets; 28#else 29 static const std::array<llama_ui_asset, 0> empty{}; 30 return empty; 31#endif 32} 33 34bool llama_ui_use_gzip() { 35 return @USE_GZIP@; 36}