A-baoYang commited on
Commit
f79ddf1
·
1 Parent(s): 3349d08

Change ui port

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -199,8 +199,4 @@ with gr.Blocks(css=css, theme=gr.themes.Monochrome(neutral_hue="lime")) as demo:
199
 
200
 
201
  if __name__ == "__main__":
202
- demo.queue().launch(
203
- max_threads=10,
204
- server_name=os.environ.get("FRONTEND_HOST", "127.0.0.1"),
205
- server_port=int(os.environ.get("FRONTEND_PORT", 7862)),
206
- )
 
199
 
200
 
201
  if __name__ == "__main__":
202
+ demo.queue().launch(max_threads=10)