Spaces:
Running
Running
Update utils.py
Browse files
utils.py
CHANGED
@@ -20,8 +20,6 @@ def is_ext(file_path, ext):
|
|
20 |
return os.path.splitext(file_path)[1].lower() == ext.lower()
|
21 |
|
22 |
def read_file_json(file_path):
|
23 |
-
ext = os.path.splitext(file_path)[1].lower()
|
24 |
-
|
25 |
df = None
|
26 |
|
27 |
if is_ext(file_path, ".csv"):
|
|
|
20 |
return os.path.splitext(file_path)[1].lower() == ext.lower()
|
21 |
|
22 |
def read_file_json(file_path):
|
|
|
|
|
23 |
df = None
|
24 |
|
25 |
if is_ext(file_path, ".csv"):
|