pragnakalp commited on
Commit
518a7a1
1 Parent(s): e128c00

Update save_data.py

Browse files
Files changed (1) hide show
  1. save_data.py +3 -3
save_data.py CHANGED
@@ -11,11 +11,11 @@ from PIL import Image
11
  from huggingface_hub import Repository, upload_file
12
 
13
  HF_TOKEN = os.environ.get("HF_TOKEN")
14
- DATASET_NAME = "OCR-img-to-text"
15
- DATASET_REPO_URL = "https://huggingface.co/datasets/pragnakalp/OCR-img-to-text"
16
  DATA_FILENAME = "ocr_data.csv"
17
  DATA_FILE = os.path.join("ocr_data", DATA_FILENAME)
18
- DATASET_REPO_ID = "pragnakalp/OCR-img-to-text"
19
  print("is none?", HF_TOKEN is None)
20
  REPOSITORY_DIR = "data"
21
  LOCAL_DIR = 'data_local'
 
11
  from huggingface_hub import Repository, upload_file
12
 
13
  HF_TOKEN = os.environ.get("HF_TOKEN")
14
+ DATASET_NAME = "OCR-image-to-text-ZeroGPU"
15
+ DATASET_REPO_URL = "https://huggingface.co/spaces/pragnakalp/OCR-image-to-text-ZeroGPU"
16
  DATA_FILENAME = "ocr_data.csv"
17
  DATA_FILE = os.path.join("ocr_data", DATA_FILENAME)
18
+ DATASET_REPO_ID = "pragnakalp/OCR-image-to-text-ZeroGPU"
19
  print("is none?", HF_TOKEN is None)
20
  REPOSITORY_DIR = "data"
21
  LOCAL_DIR = 'data_local'