vobecant commited on
Commit
02bb0fe
·
1 Parent(s): d37387f

Initial commit.

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