Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -67,7 +67,7 @@ if img_file_buffer is not None:
|
|
| 67 |
|
| 68 |
# Check if the CSV file exists
|
| 69 |
file_path = os.path.join("data", "data.csv")
|
| 70 |
-
if os.path.exists(file_path):
|
| 71 |
# Append new data to existing CSV file
|
| 72 |
existing_df = pd.read_csv(file_path)
|
| 73 |
updated_df = pd.concat([existing_df, df], ignore_index=True)
|
|
|
|
| 67 |
|
| 68 |
# Check if the CSV file exists
|
| 69 |
file_path = os.path.join("data", "data.csv")
|
| 70 |
+
if os.path.exists(file_path):
|
| 71 |
# Append new data to existing CSV file
|
| 72 |
existing_df = pd.read_csv(file_path)
|
| 73 |
updated_df = pd.concat([existing_df, df], ignore_index=True)
|