Datasets:

ArXiv:
DOI:
License:
SiddiqueAkhonda commited on
Commit
78437ee
1 Parent(s): afb60ee

Update msynth.py

Browse files
Files changed (1) hide show
  1. msynth.py +1 -1
msynth.py CHANGED
@@ -214,7 +214,7 @@ class msynth(datasets.GeneratorBasedBuilder):
214
 
215
  except Exception as e:
216
  # If an exception occurs (e.g., file not found), log the error and add the URL to the failed_urls list
217
- logger.error(f"Failed to download {url}: {e}")
218
 
219
  return [
220
  datasets.SplitGenerator(
 
214
 
215
  except Exception as e:
216
  # If an exception occurs (e.g., file not found), log the error and add the URL to the failed_urls list
217
+ logger.error(f"Failed to download {url}: {e} because it is not present. Moving on to the next available file")
218
 
219
  return [
220
  datasets.SplitGenerator(