dmmmmm commited on
Commit
4bef7ec
·
verified ·
1 Parent(s): de6eeaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -881,7 +881,7 @@ with gr.Blocks(
881
  )
882
 
883
  version = gr.Radio(
884
- choices=["7", "6.1", "6", "5.2", "5.1", "Niji 6"],
885
  value="7",
886
  label="Model Version"
887
  )
@@ -1132,7 +1132,6 @@ with gr.Blocks(
1132
  }
1133
  """)
1134
 
1135
- # 启动应用
1136
  if __name__ == "__main__":
1137
  app_instance = demo
1138
 
@@ -1142,5 +1141,5 @@ if __name__ == "__main__":
1142
  demo.launch(
1143
  share=True,
1144
  server_name="0.0.0.0",
1145
- server_port=7863 # 使用不同的端口避免冲突
1146
  )
 
881
  )
882
 
883
  version = gr.Radio(
884
+ choices=["7", "6.1", "6", "5.2", "5.1", "niji6"],
885
  value="7",
886
  label="Model Version"
887
  )
 
1132
  }
1133
  """)
1134
 
 
1135
  if __name__ == "__main__":
1136
  app_instance = demo
1137
 
 
1141
  demo.launch(
1142
  share=True,
1143
  server_name="0.0.0.0",
1144
+ server_port=7860 # 使用不同的端口避免冲突
1145
  )