lixiang46 commited on
Commit
3726faf
1 Parent(s): 8226feb

change css

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -75,15 +75,15 @@ human_list_path = [os.path.join(example_path,"human",human) for human in human_l
75
  css="""
76
  #col-left {
77
  margin: 0 auto;
78
- max-width: 380px;
79
  }
80
  #col-mid {
81
  margin: 0 auto;
82
- max-width: 380px;
83
  }
84
  #col-right {
85
  margin: 0 auto;
86
- max-width: 520px;
87
  }
88
  #col-showcase {
89
  margin: 0 auto;
@@ -184,4 +184,4 @@ with gr.Blocks(css=css) as Tryon:
184
 
185
  ip = requests.get('http://ifconfig.me/ip', timeout=1).text.strip()
186
  print("ip address", ip)
187
- Tryon.launch()
 
75
  css="""
76
  #col-left {
77
  margin: 0 auto;
78
+ max-width: 420px;
79
  }
80
  #col-mid {
81
  margin: 0 auto;
82
+ max-width: 420px;
83
  }
84
  #col-right {
85
  margin: 0 auto;
86
+ max-width: 420px;
87
  }
88
  #col-showcase {
89
  margin: 0 auto;
 
184
 
185
  ip = requests.get('http://ifconfig.me/ip', timeout=1).text.strip()
186
  print("ip address", ip)
187
+ Tryon.queue(max_size=10).launch()