Vikas01 commited on
Commit
4476613
·
1 Parent(s): fc27554

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
  df = pd.DataFrame(raw_data, columns=['date', 'v_number'])
68
 
69
  # Check if the CSV file exists
70
- file_path = st.secrets["data/data.csv"]
71
  if os.path.exists(file_path):
72
  # Append the data to the existing CSV file
73
  with open(file_path, mode='a', newline='') as file:
 
67
  df = pd.DataFrame(raw_data, columns=['date', 'v_number'])
68
 
69
  # Check if the CSV file exists
70
+ file_path = os.path.join("data", "data.csv")
71
  if os.path.exists(file_path):
72
  # Append the data to the existing CSV file
73
  with open(file_path, mode='a', newline='') as file: