This commit is contained in:
hailin 2025-07-27 10:52:28 +08:00
parent f932f0bd5f
commit 0333b8af9c
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ with gr.Blocks(title="Base 模型测试 UI") as demo:
chatbot = gr.ChatInterface(
fn=lambda m, h: chat(m, h, max_tokens.value, temperature.value),
additional_inputs=[max_tokens, temperature], # ✅ 添加这一行
title=None
)