hlydecker commited on
Commit
4ef5f6d
1 Parent(s): 0f1d0c0

bugfix: remove caching examples

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,4 +30,4 @@ description = "YOLOv5 Gradio demo for finding faces with and without masks, usin
30
  article = "<p style='text-align: center'>YOLOv5 is a family of compound-scaled object detection models trained on the COCO dataset, and includes simple functionality for Test Time Augmentation (TTA), model ensembling, hyperparameter evolution, and export to ONNX, CoreML and TFLite. <a href='https://github.com/ultralytics/yolov5'>Source code</a> | <a href='https://pytorch.org/hub/ultralytics_yolov5'>PyTorch Hub</a></p>"
31
 
32
  examples = [['data/picard.jpg'], ['data/stockmasks.jpg'],['data/batman.png']]
33
- gr.Interface(yolo, inputs, outputs, title=title, description=description, article=article, examples=examples, theme="huggingface").launch(cache_examples=True,enable_queue=True)
 
30
  article = "<p style='text-align: center'>YOLOv5 is a family of compound-scaled object detection models trained on the COCO dataset, and includes simple functionality for Test Time Augmentation (TTA), model ensembling, hyperparameter evolution, and export to ONNX, CoreML and TFLite. <a href='https://github.com/ultralytics/yolov5'>Source code</a> | <a href='https://pytorch.org/hub/ultralytics_yolov5'>PyTorch Hub</a></p>"
31
 
32
  examples = [['data/picard.jpg'], ['data/stockmasks.jpg'],['data/batman.png']]
33
+ gr.Interface(yolo, inputs, outputs, title=title, description=description, article=article, examples=examples, theme="huggingface").launch(enable_queue=True)