Spaces:
Running
Running
Francisco Cerna Fukuzaki
commited on
Commit
•
b3c709b
1
Parent(s):
49fbc55
Save dataset.
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ model = torch.hub.load('ultralytics/yolov5', 'custom', path='best.pt', force_rel
|
|
51 |
#model = torch.hub.load('path/to/yolov5', 'custom', path='/content/yolov56.pt', source='local') # local repo
|
52 |
|
53 |
HF_TOKEN = os.getenv("ZIKA_TOKEN_WRITE")
|
54 |
-
hf_writer = gr.HuggingFaceDatasetSaver(hf_foken=HF_TOKEN, dataset_name="demo-iazika-flags")
|
55 |
|
56 |
def getQuantity(string):
|
57 |
contador_raw = ''.join(string.split(" ")[3:])
|
|
|
51 |
#model = torch.hub.load('path/to/yolov5', 'custom', path='/content/yolov56.pt', source='local') # local repo
|
52 |
|
53 |
HF_TOKEN = os.getenv("ZIKA_TOKEN_WRITE")
|
54 |
+
hf_writer = gr.HuggingFaceDatasetSaver(hf_foken=HF_TOKEN, dataset_name="AllAideas/demo-iazika-flags")
|
55 |
|
56 |
def getQuantity(string):
|
57 |
contador_raw = ''.join(string.split(" ")[3:])
|