diff --git a/meta_ui.py b/meta_ui.py index 7bed530..583b53e 100644 --- a/meta_ui.py +++ b/meta_ui.py @@ -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 )