pngwn HF staff commited on
Commit
a49f2e9
·
verified ·
1 Parent(s): 63f6444

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -8,6 +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
  def get_data(self):
12
  return self.data
13
 
 
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