350016z commited on
Commit
2b00288
·
verified ·
1 Parent(s): db4ac6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -30,8 +30,10 @@ def download_dataset_file(dataset_id, local_dir):
30
  # base_path = os.path.join('/home/user/.cache/huggingface/hub', 'datasets--' + dataset_name)
31
  # snapshot_path = os.path.join(base_path, "snapshots", snapshot_id)
32
  # print(f"snapshot_path: {snapshot_path}")
33
- snapshot_path = "/home/user/.cache/huggingface/hub/datasets--350016z--flores_plus_taiwanese/snapshots/9a8fe738903c9ab08620db4553c582376bcdd64f"
 
34
 
 
35
  contents = os.listdir(snapshot_path)
36
  print("Contents of snapshot path:")
37
  print(contents)
 
30
  # base_path = os.path.join('/home/user/.cache/huggingface/hub', 'datasets--' + dataset_name)
31
  # snapshot_path = os.path.join(base_path, "snapshots", snapshot_id)
32
  # print(f"snapshot_path: {snapshot_path}")
33
+
34
+ # snapshot_path = "/home/user/.cache/huggingface/hub/datasets--350016z--flores_plus_taiwanese/snapshots/9a8fe738903c9ab08620db4553c582376bcdd64f"
35
 
36
+ snapshot_path = "/home/user/.cache/huggingface/hub/datasets--350016z--flores_plus_taiwanese/snapshots"
37
  contents = os.listdir(snapshot_path)
38
  print("Contents of snapshot path:")
39
  print(contents)