xiaoxishui commited on
Commit
ab72b00
·
verified ·
1 Parent(s): 9e639df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # 替换原来的 demo.launch()
2
+ if __name__ == "__main__":
3
+ demo.launch(
4
+ server_name="0.0.0.0",
5
+ server_port=7860,
6
+ share=False # Hugging Face Spaces 不需要 share
7
+ )