LennyBijan commited on
Commit
3ee76a6
1 Parent(s): c35dc86

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. BA_Datensatz_V2.py +0 -1
BA_Datensatz_V2.py CHANGED
@@ -70,7 +70,6 @@ class BA_Datensatz_V2(datasets.GeneratorBasedBuilder):
70
  print("Is in metadata:", relative_path in metadata)
71
 
72
  if relative_path in metadata:
73
- relative_path = os.path.join(local_extracted_archive, relative_path) if local_extracted_archive else relative_path
74
  audio_data = {"path": relative_path, "bytes": file_content.read()}
75
  result = metadata[relative_path]
76
  result["audio"] = audio_data
 
70
  print("Is in metadata:", relative_path in metadata)
71
 
72
  if relative_path in metadata:
 
73
  audio_data = {"path": relative_path, "bytes": file_content.read()}
74
  result = metadata[relative_path]
75
  result["audio"] = audio_data