feature: 添加外部访问

This commit is contained in:
贺海国
2026-04-15 18:48:33 +08:00
parent 9bfa47804f
commit 9ad29ba45c

2
app.py
View File

@@ -205,6 +205,8 @@ with gr.Blocks(fill_height=True) as demo:
if __name__ == "__main__":
demo.launch(
server_name="0.0.0.0",
server_port=7860,
theme=custom_theme,
css="""
.header-text h1 {