From e38088c1035341b29fb5507e7feec0c68b03e6b9 Mon Sep 17 00:00:00 2001 From: Pat-Vdv <63392431+Pat-Vdv@users.noreply.github.com> Date: Tue, 8 Jul 2025 18:58:34 +0200 Subject: [PATCH] Update streamlit_app.py change model["name"] with model["model"] in the function extract_model_names --- recipes/ollama/streamlit_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/ollama/streamlit_app.py b/recipes/ollama/streamlit_app.py index dbc739f..ead887c 100644 --- a/recipes/ollama/streamlit_app.py +++ b/recipes/ollama/streamlit_app.py @@ -20,7 +20,7 @@ def extract_model_names(models_info: list) -> tuple: A tuple containing the model names. """ - return tuple(model["name"] for model in models_info["models"]) + return tuple(model["model"] for model in models_info["models"]) def main(): @@ -83,4 +83,4 @@ def main(): if __name__ == "__main__": - main() \ No newline at end of file + main()