Skip to content

Commit fcf210f

Browse files
committed
修改chat ui
1 parent 28b10e0 commit fcf210f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gpt_server/serving/chat_ui.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
if (
2525
model_config["model_type"] != "embedding"
2626
and model_config["model_type"] != "embedding_infinity"
27+
and model_config["model_type"] != "funasr"
2728
):
2829
support_models.append(model_name)
2930
port = config["serve_args"]["port"]
@@ -53,7 +54,7 @@ def init_chat_history():
5354

5455

5556
def main():
56-
st.title(f"GPT_SERVER")
57+
st.title(f"Chat UI")
5758
models = [i.id for i in client.models.list() if i.id in support_models]
5859
model = st.sidebar.selectbox(label="选择模型", options=models)
5960
temperature = st.sidebar.slider(

0 commit comments

Comments
 (0)