Skip to content

Commit

Permalink
Update app.py (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
earonesty committed Sep 14, 2023
1 parent f4090a0 commit 58a6e42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions llama_cpp/server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,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 comments on commit 58a6e42

Please sign in to comment.