feat: 修改应用启动方式

- 将 app.launch() 修改为 app.launch(server_name="0.0.0.0")
- 此修改使应用能够监听所有网络接口,提高可用性
This commit is contained in:
carry 2025-04-22 19:08:23 +08:00
parent 3718c75cee
commit 6338706967

View File

@ -26,4 +26,4 @@ if __name__ == "__main__":
with gr.TabItem("设置"):
setting_page()
app.launch()
app.launch(server_name="0.0.0.0")