ChongMou commited on
Commit
28bad0a
1 Parent(s): 760bbe0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -3,7 +3,7 @@ os.system('pip3 install openmim')
3
  os.system('mim install mmcv-full==1.7.0')
4
  os.system('pip3 install mmpose')
5
  os.system('pip3 install mmdet')
6
- os.system('pip3 install gradio==3.11')
7
 
8
  from demo.model import Model_all
9
  import gradio as gr
@@ -62,4 +62,5 @@ with gr.Blocks(css='style.css') as demo:
62
  with gr.TabItem('Draw'):
63
  create_demo_draw(model.process_draw)
64
 
65
- demo.queue(api_open=False).launch(server_name='0.0.0.0')
 
 
3
  os.system('mim install mmcv-full==1.7.0')
4
  os.system('pip3 install mmpose')
5
  os.system('pip3 install mmdet')
6
+ os.system('pip3 install gradio==3.19.1')
7
 
8
  from demo.model import Model_all
9
  import gradio as gr
 
62
  with gr.TabItem('Draw'):
63
  create_demo_draw(model.process_draw)
64
 
65
+ # demo.queue(api_open=False).launch(server_name='0.0.0.0')
66
+ demo.queue(show_api=False, enable_queue=False).launch(server_name='0.0.0.0')