Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def write_csv(record_count, topic, intervention):
|
|
9 |
"Topic": [topic],
|
10 |
"Intervention": [intervention]
|
11 |
})
|
12 |
-
df.to_csv("
|
13 |
|
14 |
# Create a function to plot the data from the CSV file
|
15 |
def plot_data():
|
|
|
9 |
"Topic": [topic],
|
10 |
"Intervention": [intervention]
|
11 |
})
|
12 |
+
df.to_csv("testfile.csv", index=False, mode='a')
|
13 |
|
14 |
# Create a function to plot the data from the CSV file
|
15 |
def plot_data():
|