Download tools/ui/ui.cpp.in from Parakon/parakon-runtime: direct link, hf CLI and curl.
- Browser
- Download file 744 Bytes
-
https://huggingface.co/Parakon/parakon-runtime/resolve/main/tools/ui/ui.cpp.in
- Command line
-
hf download hf://Parakon/parakon-runtime/tools/ui/ui.cpp.in
-
curl -L -o ui.cpp.in https://huggingface.co/Parakon/parakon-runtime/resolve/main/tools/ui/ui.cpp.in
744 Bytes
| // Generated by scripts/ui-assets.cmake - do not edit. | |
| @ASSET_ARRAYS@ | |
| static const std::array<llama_ui_asset, @N_ASSETS@> g_assets = {{ | |
| @ASSET_TABLE@ | |
| }}; | |
| const llama_ui_asset * llama_ui_find_asset(const std::string & name) { | |
| for (const auto & a : g_assets) { | |
| if (a.name == name) { | |
| return &a; | |
| } | |
| } | |
| (void) name; | |
| return nullptr; | |
| } | |
| const std::array<llama_ui_asset, @N_ASSETS@> & llama_ui_get_assets() { | |
| return g_assets; | |
| static const std::array<llama_ui_asset, 0> empty{}; | |
| return empty; | |
| } | |
| bool llama_ui_use_gzip() { | |
| return @USE_GZIP@; | |
| } | |