fix: valves

This commit is contained in:
Timothy J. Baek 2024-05-28 13:05:50 -07:00
parent 3395bbcc95
commit e25670e6ec
2 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ async def update_valves(pipeline_id: str, form_data: dict):
try:
ValvesModel = pipeline.valves.__class__
valves = ValvesModel(**form_data.valves)
valves = ValvesModel(**form_data)
pipeline.valves = valves
except Exception as e:
print(e)

View File

@ -16,7 +16,7 @@ class Pipeline:
self.id = "ollama_manifold"
# Optionally, you can set the name of the manifold pipeline.
self.name = "Ollama: "
self.name = "Manifold: "
self.OLLAMA_BASE_URL = "http://localhost:11434"
self.pipelines = self.get_ollama_models()