forked from phoenix-oss/llama-stack-mirror
model selection playground fix
This commit is contained in:
parent
3700022d6f
commit
af8f1b3531
2 changed files with 10 additions and 4 deletions
|
@ -11,7 +11,11 @@ from modules.api import llama_stack_api
|
|||
with st.sidebar:
|
||||
st.header("Configuration")
|
||||
available_models = llama_stack_api.client.models.list()
|
||||
available_models = [model.identifier for model in available_models]
|
||||
available_models = [
|
||||
model.identifier
|
||||
for model in available_models
|
||||
if model.identifier.startswith("meta-llama")
|
||||
]
|
||||
selected_model = st.selectbox(
|
||||
"Choose a model",
|
||||
available_models,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue