CoolFace
Apppublic

HuggingMahiro/Tavern

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
config.yaml71 linesDownload Raw Back to root
1# -- NETWORK CONFIGURATION --2# Listen for incoming connections3listen: true4# Server port5port: 80006# Toggle whitelist mode7whitelistMode: false8# Whitelist of allowed IP addresses9whitelist:10  - 127.0.0.111# Toggle basic authentication for endpoints12basicAuthMode: true13# Basic authentication credentials14basicAuthUser:15  username: "user"16  password: "password"17# Enables CORS proxy middleware18enableCorsProxy: false19# Disable security checks - NOT RECOMMENDED20securityOverride: true21# -- ADVANCED CONFIGURATION --22# Open the browser automatically23autorun: true24# Disable thumbnail generation25disableThumbnails: false26# Thumbnail quality (0-100)27thumbnailsQuality: 9528# Generate avatar thumbnails as PNG instead of JPG (preserves transparency but increases filesize by about 100%)29#  Changing this only affects new thumbnails. To recreate the old ones, clear out your ST/thumbnails/ folder.30avatarThumbnailsPng: false31# Allow secret keys exposure via API32allowKeysExposure: false33# Skip new default content checks34skipContentCheck: false35# Disable automatic chats backup36disableChatBackup: false37# API request overrides (for KoboldAI and Text Completion APIs)38## Format is an array of objects:39## - hosts:40##   - example.com41##   headers:42##     Content-Type: application/json43requestOverrides: []44# -- PLUGIN CONFIGURATION --45# Enable UI extensions46enableExtensions: true47# Extension settings48extras:49  # Disables automatic model download from HuggingFace50  disableAutoDownload: false51  # Extra models for plugins. Expects model IDs from HuggingFace model hub in ONNX format52  classificationModel: Cohee/distilbert-base-uncased-go-emotions-onnx53  captioningModel: Xenova/vit-gpt2-image-captioning54  embeddingModel: Cohee/jina-embeddings-v2-base-en55  promptExpansionModel: Cohee/fooocus_expansion-onnx56  speechToTextModel: Xenova/whisper-small57  textToSpeechModel: Xenova/speecht5_tts58# -- OPENAI CONFIGURATION --59openai:60  # Will send a random user ID to OpenAI completion API61  randomizeUserId: false62  # If not empty, will add this as a system message to the start of every caption completion prompt63  # Example: "Perform the instructions to the best of your ability.\n" (for LLaVA)64  # Not used in image inlining mode65  captionSystemPrompt: ""66# -- DEEPL TRANSLATION CONFIGURATION --67deepl:68  # Available options: default, more, less, prefer_more, prefer_less69  formality: default70# -- SERVER PLUGIN CONFIGURATION --71enableServerPlugins: false