Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -78,6 +78,7 @@ def is_csv_empty(file_path):
|
|
78 |
reader = csv.reader(csvfile)
|
79 |
try:
|
80 |
first_row = next(reader)
|
|
|
81 |
except StopIteration:
|
82 |
print(f"The file '{file_path}' is empty.")
|
83 |
return False
|
|
|
78 |
reader = csv.reader(csvfile)
|
79 |
try:
|
80 |
first_row = next(reader)
|
81 |
+
print(first_row)
|
82 |
except StopIteration:
|
83 |
print(f"The file '{file_path}' is empty.")
|
84 |
return False
|