thbndi commited on
Commit
23a70c2
·
1 Parent(s): 24e0d93

Update Mimic4Dataset.py

Browse files
Files changed (1) hide show
  1. Mimic4Dataset.py +1 -1
Mimic4Dataset.py CHANGED
@@ -148,7 +148,7 @@ class Mimic4Dataset(datasets.GeneratorBasedBuilder):
148
 
149
 
150
  if self.config_path[0:4] == 'http':
151
- c = file_path.split('/')[-1]
152
  file_path, head = urlretrieve(self.config_path,c)
153
  else :
154
  file_path = self.config_path
 
148
 
149
 
150
  if self.config_path[0:4] == 'http':
151
+ c = self.config_path.split('/')[-1]
152
  file_path, head = urlretrieve(self.config_path,c)
153
  else :
154
  file_path = self.config_path