vobecant commited on
Commit
c5be7a4
·
1 Parent(s): f5be090

Initial commit.

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,7 +12,7 @@ from torchvision import transforms
12
 
13
  # WEIGHTS = './weights/segmenter.pth
14
  WEIGHTS = './weights/segmenter_nusc.pth'
15
- FULL = True
16
  ALPHA = 0.5
17
 
18
 
@@ -187,4 +187,4 @@ iface = gr.Interface(predict, inputs=gr.inputs.Image(type='filepath'), title=tit
187
  # examples=examples)
188
 
189
  # iface.launch(show_error=True, share=True)
190
- iface.launch(enable_queue=True, cache_examples=True)
 
12
 
13
  # WEIGHTS = './weights/segmenter.pth
14
  WEIGHTS = './weights/segmenter_nusc.pth'
15
+ FULL = False
16
  ALPHA = 0.5
17
 
18
 
 
187
  # examples=examples)
188
 
189
  # iface.launch(show_error=True, share=True)
190
+ iface.launch(enable_queue=True, cache_examples=FULL)