Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
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:
|