rahgadda commited on
Commit
9cf2ba7
·
1 Parent(s): a2af0cb

Initial Draft

Browse files
Files changed (1) hide show
  1. Dashboard.py +3 -2
Dashboard.py CHANGED
@@ -12,12 +12,13 @@ DATA_SET = os.environ.get("DATA_SET")
12
  ################################
13
  ####### GenericFunctions #######
14
  ################################
15
- def load_dataset():
16
  dataset = load_dataset(DATA_SET)
 
17
 
18
  def save_dataset():
19
  # Load a dataset from the Hugging Face Hub
20
- load_dataset()
21
 
22
  # Create a directory to save the files
23
  output_directory = "data"
 
12
  ################################
13
  ####### GenericFunctions #######
14
  ################################
15
+ def load_hf_dataset():
16
  dataset = load_dataset(DATA_SET)
17
+ return dataset
18
 
19
  def save_dataset():
20
  # Load a dataset from the Hugging Face Hub
21
+ dataset = load_hf_dataset()
22
 
23
  # Create a directory to save the files
24
  output_directory = "data"