mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-01-31 19:49:54 +00:00
Fix windows build with CUDA (#1101)
Co-authored-by: firecoperana <firecoperana>
This commit is contained in:
@@ -47,6 +47,7 @@ struct DatabaseHandle {
|
||||
#endif
|
||||
|
||||
using json = nlohmann::ordered_json;
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
bool server_verbose = false;
|
||||
bool server_log_json = true;
|
||||
@@ -1310,7 +1311,6 @@ int main(int argc, char ** argv) {
|
||||
|
||||
const auto list_saved_prompts = [&ctx_server, ¶ms](const httplib::Request& req, httplib::Response& res) {
|
||||
json response = json::array();
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
try {
|
||||
for (const auto& entry : fs::directory_iterator(params.slot_save_path)) {
|
||||
|
||||
Reference in New Issue
Block a user