This commit is contained in:
hailin 2025-07-21 19:11:02 +08:00
parent a89b4540f4
commit c8234fb250
2 changed files with 2 additions and 1 deletions

View File

@ -86,5 +86,5 @@ with gr.Blocks(css=".gr-button {min-width:6rem}") as demo:
send_btn.click(send_emails, state_box, out_html)
if __name__ == "__main__":
demo.queue().launch(server_port=7880)
demo.queue().launch(server_port=7880, show_api=False) # ← 关闭 API 元数据

View File

@ -1,2 +1,3 @@
gradio>=4.0,<5
pydantic==2.10.6