Francisco Cerna Fukuzaki commited on
Commit
7b51b37
·
1 Parent(s): 266c0b8
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ model = torch.hub.load('ultralytics/yolov5', 'custom', path='best.pt', force_rel
50
  #model = torch.hub.load('path/to/yolov5', 'custom', path='/content/yolov56.pt', source='local') # local repo
51
 
52
  HF_TOKEN = os.getenv("HF_TOKEN")
53
- #hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "demo-iazika-flags")
54
 
55
  def yolo(size, iou, conf, im):
56
  '''Wrapper fn for gradio'''
 
50
  #model = torch.hub.load('path/to/yolov5', 'custom', path='/content/yolov56.pt', source='local') # local repo
51
 
52
  HF_TOKEN = os.getenv("HF_TOKEN")
53
+ hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "demo-iazika-flags")
54
 
55
  def yolo(size, iou, conf, im):
56
  '''Wrapper fn for gradio'''