Update Mimic4Dataset.py
Browse files- 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 =
|
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
|