Browse Source

Add targets in Web project

This allow to copy binaries and make the project work.

Update example model in appsettings
tags/v0.8.1
SignalRT 2 years ago
parent
commit
46ace3ddd7
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      LLama.Web/LLama.Web.csproj
  2. +1
    -1
      LLama.WebAPI/appsettings.json

+ 1
- 1
LLama.Web/LLama.Web.csproj View File

@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Import Project="..\LLama\LLamaSharp.Runtime.targets" />
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Nullable>disable</Nullable>


+ 1
- 1
LLama.WebAPI/appsettings.json View File

@@ -6,5 +6,5 @@
}
},
"AllowedHosts": "*",
"ModelPath": "..\\..\\LLamaModel\\ggml-model-f32-q4_0.bin"
"ModelPath": "..\\LLama.Unittest\\Models\\llama-2-7b-chat.Q4_0.gguf"
}

Loading…
Cancel
Save