SiddiqueAkhonda
commited on
Commit
•
afb60ee
1
Parent(s):
e2b11a7
Update msynth.py
Browse files
msynth.py
CHANGED
@@ -256,7 +256,7 @@ class msynth(datasets.GeneratorBasedBuilder):
|
|
256 |
|
257 |
except Exception as e:
|
258 |
# If an exception occurs (e.g., file not found), log the error and add the URL to the failed_urls list
|
259 |
-
logger.error(f"Failed to download {url}: {e}")
|
260 |
|
261 |
return [
|
262 |
datasets.SplitGenerator(
|
|
|
256 |
|
257 |
except Exception as e:
|
258 |
# If an exception occurs (e.g., file not found), log the error and add the URL to the failed_urls list
|
259 |
+
logger.error(f"Failed to download {url}: {e} because it is not present. Moving on to the next available file")
|
260 |
|
261 |
return [
|
262 |
datasets.SplitGenerator(
|