This commit is contained in:
parent
a89b4540f4
commit
c8234fb250
|
|
@ -86,5 +86,5 @@ with gr.Blocks(css=".gr-button {min-width:6rem}") as demo:
|
||||||
send_btn.click(send_emails, state_box, out_html)
|
send_btn.click(send_emails, state_box, out_html)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
demo.queue().launch(server_port=7880)
|
demo.queue().launch(server_port=7880, show_api=False) # ← 关闭 API 元数据
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,3 @@
|
||||||
gradio>=4.0,<5
|
gradio>=4.0,<5
|
||||||
|
pydantic==2.10.6
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue