Skip to content

Commit

Permalink
improved support list tip
Browse files Browse the repository at this point in the history
  • Loading branch information
Jingyi committed Nov 17, 2023
1 parent 82d0c1f commit d219dc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/panel/image_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ def create_inference_job(models: List[str]):

if not set(models).issubset(set(support_model_list)):
models = default_models
st.warning("use default model {} because LLM recommend not in support list".format(models))
st.warning(
"use default model {}\nbecause LLM recommend not in support list:\n{}".format(models, support_model_list))

headers = {
"Content-Type": "application/json",
Expand Down

0 comments on commit d219dc8

Please sign in to comment.