Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ class Data:
|
|
8 |
def update(self):
|
9 |
new_data = f"New data - item: {len(self.data) + 1}"
|
10 |
self.data.append([new_data])
|
11 |
-
|
12 |
def get_data(self):
|
13 |
return self.data
|
14 |
|
|
|
8 |
def update(self):
|
9 |
new_data = f"New data - item: {len(self.data) + 1}"
|
10 |
self.data.append([new_data])
|
11 |
+
return new_data
|
12 |
def get_data(self):
|
13 |
return self.data
|
14 |
|