This commit is contained in:
hailin 2025-07-25 16:30:15 +08:00
parent 2cfc960bc3
commit 174a6b2d76
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ with gr.Blocks(title="Base 模型测试 UI") as demo:
gr.Markdown("# 💬 Base 模型对话界面")
with gr.Row():
max_tokens = gr.Slider(32, 1024, value=256, label="max_tokens")
max_tokens = gr.Slider(32, 131072, value=8192, label="max_tokens")
temperature = gr.Slider(0.0, 1.5, value=0.7, step=0.05, label="temperature")
test_btn = gr.Button("🔁 测试 API 可用性")
test_output = gr.Textbox(label="API 测试结果", interactive=False)