8000 Update app.py by earonesty · Pull Request #705 · abetlen/llama-cpp-python · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments. DE31
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions llama_cpp/server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
import numpy.typing as npt


BaseSettings.model_config['protected_namespaces'] = ()


class Settings(BaseSettings):
model: str = Field(
description="The path to the model to use for generating completions."
Expand Down
0