Vikas01 commited on
Commit
4fe620d
·
1 Parent(s): 3ad609b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)