fcernafukuzaki commited on
Commit
d4aa952
·
1 Parent(s): 0cfc9ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,8 +38,8 @@ torch.hub.download_url_to_file('https://i.pinimg.com/originals/c2/ce/e0/c2cee056
38
  model = torch.hub.load('ultralytics/yolov5', 'custom', path='best.pt', force_reload=True, autoshape=True, trust_repo=True)
39
 
40
 
41
- # HF_TOKEN = os.getenv("ZIKA_TOKEN_WRITE")
42
- # hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "demo-iazika-flags")
43
 
44
  def getQuantity(string):
45
  contador_raw = ''.join(string.split(" ")[3:])
 
38
  model = torch.hub.load('ultralytics/yolov5', 'custom', path='best.pt', force_reload=True, autoshape=True, trust_repo=True)
39
 
40
 
41
+ HF_TOKEN = os.getenv("ZIKA_TOKEN_WRITE")
42
+ hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "demo-iazika-flags")
43
 
44
  def getQuantity(string):
45
  contador_raw = ''.join(string.split(" ")[3:])