Refactored ImageGenerator

Option "StableDiffusionModel" zu AppSettings hinzugefügt
This commit is contained in:
Simon Lübeß
2023-10-13 12:20:24 +02:00
parent 80c7dca613
commit fa75985014
4 changed files with 56 additions and 31 deletions

View File

@ -1,15 +1,16 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"API": {
"OpenAI": "<put OpenAI Key here>",
"HF_Inference": "<put Hugging Face inference API Key here>"
},
"StableDiffusionModel": "Nacken/kkk-sdxl-18000",
"ConnectionStrings": {
"Default": "<put Connection String here>"
}